Commit Graph

2121 Commits

Author SHA1 Message Date
Ralf Wildenhues
639faa31d0 * libltdl/Makefile.am (libltdl_la_DEPENDENCIES): Depend on
$(BUILT_SOURCES) as well, so that argz.h gets created through
`make libltdlc.la'.
Reported by Sven Verdoolaege <skimo@liacs.nl>.
2005-07-08 16:16:11 +00:00
Peter Breitenlohner
d16ee3379b * Makefile.am (install-data-local): Have root own of installed
files (but do not fail, for user installs).
2005-07-08 15:54:57 +00:00
Bruno Haible
facc2c547a * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
[cygwin,mingw,pw32]: Make DLL executable after installing it.
2005-07-08 14:59:59 +00:00
Ralf Wildenhues
4efdab0b16 * config/ltmain.m4sh (func_mode_install): Do not assume `-f'
needs an argument if the install program is `cp'.  Cleanup
install mode somewhat.
Reported by Juergen Leising <juergen.leising@gmx.de>.
2005-07-08 13:45:59 +00:00
Thorsten Glaser
81dbd5c8bf * m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Quieten configure
output for corner cases on some BSDs.
(LT_CMD_MAX_LEN): Another comment cleanup.
2005-07-03 18:15:07 +00:00
Thorsten Glaser
782ffea592 * config/ltmain.m4sh (func_extract_archives, func_mode_install),
m4/libtool.m4 (_LT_SETUP, _LT_SYS_DYNAMIC_LINKER, LT_PATH_LD)
(_LT_PATH_LD_GNU, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Comment language, indentation, and backquote cleanup.
* THANKS: Updated.
2005-07-03 16:55:50 +00:00
Peter O'Gorman
14c1c16bee * tests/inherited_flags.at: Use -no-undefined.
Reported by Chris Oxenreider <oxenreid@state.net>
2005-07-02 14:44:20 +00:00
Ralf Wildenhues
d3f2c0f84d * config/ltmain.m4sh (func_mode_compile, func_mode_link),
m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH, _LT_ENABLE_LOCK):
Remove some unnecessary quotes.
2005-07-02 10:18:28 +00:00
Ralf Wildenhues
5801b0f4df * tests/convenience.at <GCJ>: Fix java test.
Reported by Eric Blake <ericblake@comcast.net>.
2005-07-02 09:58:59 +00:00
Derek R. Price
806b1a4940 * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
spaces in paths to executed programs.  Quote path in error message.
2005-07-01 02:19:46 +00:00
Ralf Wildenhues
9d6b2310e5 * THANKS: Updated. 2005-06-29 08:26:20 +00:00
Stepan Kasal
03590110e7 * clcommit.m4sh: "grep|sed" can be replaced by mere "sed".
* m4/libtool.m4 (_LT_LIBTOOL_TAGS): Remove unnnecessary "[]".
* m4/lt~obsolete.m4: Use m4_ifndef.
2005-06-29 08:23:36 +00:00
Stepan Kasal
565e361593 * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator. 2005-06-27 14:54:09 +00:00
Stepan Kasal
f923ab03b5 * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.
2005-06-27 12:27:51 +00:00
Ralf Wildenhues
9bbfb83d0c * ChangeLog: Formatting pedantry. 2005-06-27 10:43:40 +00:00
Ralf Wildenhues
c100d41a93 * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround for
CVS Automake bug (fixed).  Reported by Stepan Kasal <kasal@ucw.cz>.
2005-06-27 10:06:31 +00:00
Peter O'Gorman
88c8c8b448 * conig/ltmain.m4sh [darwin]: Accept -arch flag. 2005-06-21 14:18:24 +00:00
Ralf Wildenhues
4464ebcb99 * m4/libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
New macros: save warnings and boilerplate of simple compile/link tests.
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Call.
(_LT_COMPILER_OPTION, _LT_LINKER_OPTION, _LT_COMPILER_C_O, ):
Fail only if nonempty warnings different from default compile/link.
2005-06-18 16:49:52 +00:00
Ralf Wildenhues
3bd31694ac * m4/ltsugar.m4 (lt_car, lt_cdr): New macros, clones of m4_car/m4_cdr
with the fixed semantics of Autoconf-59c CVS, in order to work with
2.59.  (lt_combine): Use it.
2005-06-17 12:42:34 +00:00
Ralf Menzel
151f807f3d * m4/ltoptions.m4 (_LT_SET_OPTIONS): Loop options only if
nonempty.
* m4/ltsugar.m4 (lt_combine): Don't test against empty quotes,
test against empty arg.  Fixes infinite m4 loop with CVS Autoconf.
2005-06-11 11:11:45 +00:00
Ralf Wildenhues
a797e82eb9 * m4/libtool.m4 (_LT_COMPILER_OPTION, _LT_LINKER_OPTION): No
need for $ECHO here.  Fix sed script syntax to be portable.
This should now put the pic-flag right after the last $*FLAGS
variable again, if any.  Necessary for Fortran AC_FC_SRCEXT.
2005-06-11 11:01:59 +00:00
Ralf Wildenhues
ed08208024 * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Remove long lines. 2005-06-09 17:10:32 +00:00
Ralf Wildenhues
6631f9a3fd * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG): PGI also has pgf95.  PGI static flag is
`-Bstatic'.  Remove harmless extra comma from whole_archive output.
2005-06-06 16:12:53 +00:00
Ralf Wildenhues
0872a7f5fc * config/ltmain.m4sh (func_mode_compile): In order to find out
about forbidden characters in output, check with grep after checking
func_quote_for_eval result.  Also, warn instead of fail.
* config/general.m4sh (func_quote_for_eval, func_quote_for_expand):
Revert SunOS sh bug workaround patch from 2004-12-28 as it
triggers bugs in the Tru64 5.1B shell.
Reported by Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
2005-06-05 17:34:17 +00:00
Olly Betts
7e0238b4f3 * libltdl/argz.c (argz_create_sep): Fix typo. 2005-06-01 19:09:00 +00:00
Peter O'Gorman
f51baa4e30 * config/ltmain.m4sh: Do not add installed static litool libraries
to convenience, they are not convenience libraries.
Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
2005-05-31 03:49:05 +00:00
Ralf Wildenhues
74f06d5a56 * THANKS: Updated. 2005-05-16 09:04:01 +00:00
Ralf Wildenhues
2ede6e2f27 * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [ aix ]:
Fix wrong $ECHO use overlooked in 2005-04-27.  Simplify slightly.
2005-05-15 16:31:10 +00:00
Ralf Wildenhues
42898c05b3 * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG) [ linux ]: PGI:
Add $pic_flag to archive_cmds and archive_expsyms_cmds.
Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
2005-05-15 14:11:32 +00:00
Ralf Wildenhues
d57c4ca712 * THANKS: Updated. 2005-05-13 07:46:04 +00:00
Gary V. Vaughan
a262a3633a * libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Propogate ltdl directory. 2005-05-06 17:39:59 +00:00
Ralf Wildenhues
f815c1a1d1 * Makefile.am (stamp-vcl): Use diff' instead of cmp'. 2005-05-02 09:20:24 +00:00
Gary V. Vaughan
ef4442da9b Revert the parallel installation changes from November last year:
* libtoolize.m4sh (pkgdatadir, aclocaldir): Substituted from
configure.
(func_copy_all_from_path): Removed.  No longer used.
(func_copy_some_files): Simplify now that nothing is copied from a
list of possible directories now.
(func_scan_files): Remove directory readability check...
(func_nonemptydir_p): ...in favour of a dedicated sanity check
function called from the main body.
(_lt_pkgvdatadir): Set pkgdatadir and aclocaldir appropriately if
this is in the environment.
* configure.ac: Tests for `ln' removed.
(APIVERSION): Removed.
* Makefile.am (pkgvdatadir, nobase_dist_pkgvdata_DATA)
(nobase_pkgvdata_DATA): Renamed to...
(pkgdatadir, nobase_dist_pkgdata_DATA, aclocalfiles): ...these
respectively.
(edit): Adjust for new variable names.
(install-data-local): Don't bother to remove old macro files that
will be overwritten by the installation, and perform a manual
installation of $(aclocalfiles) to preserve timestamps.
(install-exec-hook): Removed.  No need to make versioned links.
(uninstall-hook): No need to remove versioned links, but now we
need to manually remove the manually installed $(aclocalfiles).
* doc/libtool.texi: Remove bogus notes about setting
ACLOCAL_AMFLAGS for versioned libtool installations.
* NEWS: Remove parallel installation item.
2005-04-30 09:30:14 +00:00
Ralf Wildenhues
1be2e1403f * m4/ltdl.m4 (all over): Quote all arguments to AC_DEFINE and
AC_DEFINE_UNQUOTED consistently.  Reported by
Michael Koch  <konqueror@gmx.de>, Riccardo Mottola <zuse@libero.it>,
and Dalibor Topic <robilad@kaffe.org>.
2005-04-29 08:51:18 +00:00
Ralf Wildenhues
5ea00999df * HACKING: Updated. 2005-04-29 06:28:31 +00:00
Ralf Wildenhues
892ec25015 * tests/convenience.at: Actually add. 2005-04-27 18:19:07 +00:00
Ralf Wildenhues
1e579accc0 * tests/convenience.at: New. Test convenience archives.
* Makefile.am, tests/testsuite.at: Adjust.
* tests/testsuite.at: Reorder tests.  Suspend AT_TESTED.
(PREPARE_TESTS): Define EGREP, host, build, LIBTOOL.
(LT_AT_BOOTSTRAP): Fail if autoreconf fails.
(LT_AT_EXEC_CHECK): New macro for execution of $build binaries.
(LT_AT_TAG): New macro to test tag availability or skip test.
* tests/am-subdir.at, tests/duplicate_members.at, tests/inherited_flags.at,
tests/link-order.at, tests/stresstest.at, tests/template.at:
Adjust.  Use LT_AT_TAG, LT_AT_EXEC_CHECK, AT_KEYWORDS.
Use compiler/linker flags consistently.
* tests/link-order.at: Fix use of AT_DATA, bogus redirection
inside AT_CHECK.
* tests/stresstest.at: Do not use wildcards/regex in symbol files,
they are not portable.  Use -no-undefined on win32.  Fix to ignore
compile/link warnings.
2005-04-27 18:18:10 +00:00
Ralf Wildenhues
a3be40ca46 * tests/f77demo/foo.h, tests/f77demo/fooc.c, tests/f77demo/cprogram.c,
tests/mdemo2/main.c, tests/pdemo/foo.h: Make declarations available.
2005-04-27 14:15:29 +00:00
Ralf Wildenhues
5264845f3a * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does
not understand \t in regex.
Reported by Tim Van Holder <tim.vanholder@gmail.com>.
2005-04-27 11:51:50 +00:00
Ralf Wildenhues
b0a5dfec5f * tests/defs.m4sh (func_configure): Don't run the whole configure
script with -x.
2005-04-27 11:37:29 +00:00
Ralf Wildenhues
6ad7b27896 * config/ltmain.m4sh: Audit use of echo vs $ECHO.
Reported by Robert Ögren <lists@roboros.com> and others.
2005-04-27 11:30:38 +00:00
Ralf Wildenhues
cbb339e4da * TODO: Updated. 2005-04-27 03:26:59 +00:00
Ralf Wildenhues
2db08b36f6 * HACKING, THANKS: Updated. 2005-04-26 11:55:12 +00:00
David Edelsohn
dcc7897d26 * m4/libtool.m4 (_LT_LINKER_SHLIBS): _LT_TAGDECL(file_list_spec).
* config/ltmain.m4sh (func_mode_link): Change $filelist to $output.
2005-04-25 16:25:14 +00:00
Ralf Wildenhues
a18e5a214c * m4/libtool.m4 (_LT_CC_BASENAME): Ignore `compile'. 2005-04-24 17:42:22 +00:00
Ralf Wildenhues
f77428feed * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [solaris]:
Update wl for Sun Studio f77/f90/f95.  Fix whole_archive_flag_spec
for cc and f77/f90/f95 to prevent reordering in case we link with $CC.
2005-04-23 15:44:27 +00:00
Ralf Wildenhues
1cb88d57c6 * m4/libtool.m4: Audit use of echo vs $ECHO.
* TODO: Update.
Reported by Robert Ögren <lists@roboros.com> and others.
2005-04-23 14:19:17 +00:00
Gary Kumfert
c820b259f4 * m4/libtool.m4 (_LT_LANG_F77_CONFIG) [ aix4, aix5 ]:
Adjust logic to match the C case: Only disable static if not
on ia64 nor runtimelinking.
2005-04-23 08:14:10 +00:00
Ralf Wildenhues
93cd550c92 * Makefile.am, HACKING: Use lt__cd throughout. 2005-04-22 10:20:46 +00:00
Gary V. Vaughan
94cc58be06 The FSF are moving offices today. Changed their contact address
in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
`51 Franklin Street, Fifth Floor, MA 02110-1301'.
2005-04-22 10:10:31 +00:00
Ralf Wildenhues
2b9f371307 * libtoolize.m4sh (func_scan_files, func_serial, func_ltmain_update,
func_config_update, func_install_update): Placate AIX sed.
2005-04-19 16:40:52 +00:00
David Edelsohn
59031e0e9f * config/ltmain.m4sh (func_mode_link): If command exceeds
max_cmd_len and file_list_spec exists, write list of input files
to temporary file.
* m4/libtool.m4 (_LT_LINKER_SHLIBS, aix[45]): Define file_list_spec.
(_LT_LANG_CXX_CONFIG, aix[45]): Define file_list_spec.
2005-04-19 14:44:42 +00:00
Ralf Wildenhues
d62ad2b24d * tests/demo-hardcode.test: Fix typo. 2005-04-18 10:19:22 +00:00
Alexandre Oliva
0a89b38e7e Peter O'Gorman <peter@pogma.com>
* config/ltmain.m4sh: Don't add files with the same base name to an
archive; rename duplicates instead.
(func_extract_an_archive): Remove section to deal with duplicate
base names in an archive.
* tests/functests.at: remove.
* tests/duplicate_members.at: new test.
* tests/testsuite.at: Add new test, remove old.
* Makefile.am: Add new test, remove old.
2005-04-17 14:30:34 +00:00
Ralf Wildenhues
78499bdc92 * tests/demo-hardcode.test [solaris]: Use dumpstabs if available,
to avoid false failure caused by debug section which contains
command line (Solaris cc).
2005-04-17 07:58:12 +00:00
Ralf Wildenhues
9bfed72522 * libtoolize.m4sh (func_copy_cb): Fix syntax typo. 2005-04-17 06:50:25 +00:00
Maciej W. Rozycki
e48c58afb0 currently 2005 2005-04-16 14:30:19 +00:00
Maciej W. Rozycki
4f54066116 * m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Add old_archive_cmds
definition.
2005-04-15 14:39:00 +00:00
Ralf Wildenhues
5b9fd5f43a * m4/libtool.m4 (_LT_CC_BASENAME): New macro to figure out $cc_basename.
Skip ccache, distcc, purify, cmdline options, `$host_alias-' prefix.
(_LT_SETUP, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Use.
* NEWS, TODO: Update.
2005-04-15 13:36:56 +00:00
Gary V. Vaughan
ebb37d1a39 * libltdl/configure.ac (AC_OUTPUT): loaders/Makefile is no longer
used.
2005-04-15 10:31:35 +00:00
Gary V. Vaughan
25b33e7236 * Makefile.am (lt__cd, CD_TESTDIR): New make macros to work around
problems with CDPATH in some shells.
(check-local, installcheck-local, clean-local): Use them.
2005-04-15 10:26:55 +00:00
Ralf Wildenhues
bc34095f46 * bootstrap: Define srcdir for making `commit'. 2005-04-14 13:09:01 +00:00
Alexandre Oliva
31327f332d * config/ltmain.m4sh (link mode): Add to tmp_libs paths for libtool dep
libs in reverse order as well.
* Makefile.am, tests/testsuite.at, tests/link-order.at: New test.
2005-04-14 11:59:10 +00:00
Gary V. Vaughan
6c1e70c04a Since the bootstrap process requires that several of the rules for
files generated in doc and tests already lived in
$top_srcdir/Makefile.am, along with proxy rules in sub-Makefiles,
this changeset consolidates almost everything into the top
Makefile.am, simplifying things considerably:

* doc/Makefile.am, tests/Makefile.am: Removed.  All rules moved...
* Makefile.am: ...to here and adjusted to run from $top_builddir.
Some reformatting to group rules and declarations by purpose, and
simplify with respect to removing much of the make recursion.
Add `doc/PLATFORMS', `doc/fdl.texi' and `doc/notes.texi'.
`defs.in' and `defs.m4sh' are in directory `tests'.
(uninstall-hook): Don't forget to uninstall libtoolize's libltdl
source tree.
* bootstrap: Simplified dirty makefile management, and bootstrap
file creation in light of having only a single pertinent
Makefile.
* configure.ac (CONF_SUBDIRS): Add tests/ prefix to each subdir to
compensate.
(DIST_MAKEFILE_LIST): Adjust.
(AC_CONFIG_FILES): Remove doc/Makefile and tests/Makefile.
* tests/defs.m4sh (LIBTOOL, scripts): Adjust paths.
* tests/cdemo-conf.test, tests/cdemo-exec.test,
tests/cdemo-make.test, tests/cdemo-shared.test,
tests/cdemo-static.test, tests/cdemo-undef.test,
tests/demo-conf.test, tests/demo-deplibs.test,
tests/demo-exec.test, tests/demo-hardcode.test,
tests/demo-inst.test, tests/demo-make.test,
tests/demo-nofast.test, tests/demo-noinst-link.test,
tests/demo-nopic.test, tests/demo-pic.test,
tests/demo-relink.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-relink.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-dryrun.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/objectlist.test, tests/pdemo-conf.test,
tests/pdemo-exec.test, tests/pdemo-inst.test,
tests/pdemo-make.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,
tests/tagdemo-undef.test, tests/tagtrace.test (func_cd,
func_require): Adjust paths..
2005-04-13 12:24:35 +00:00
Ralf Wildenhues
5fbecdee16 * config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh,
tests/functests.at: Fix definition of $Xsed.
2005-04-12 17:28:48 +00:00
Ralf Wildenhues
652709d688 Improved Portland support: prelinking of C++ templates and whole_archive.
* m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [ linux ]:
Reinstate formatted whole_archive_flag_spec for PGI compilers.
* config/ltmain.m4sh (func_mode_link), m4/libtool.m4 (_LT_LINKER_SHLIBS):
New tag prelink_cmds, to be executed before linking a program.
(_LT_LANG_CXX_CONFIG) [ linux ]: Use for pgCC.
(_LT_COMPILER_C_O): conftest might be nonempty, clean up more thoroughly.
2005-04-07 17:58:26 +00:00
Ralf Wildenhues
8b6f5a929f * tests/testsuite.at (LT_AT_BOOTSTRAP): Temporary fix for testing
in-tree libtoolize.
2005-04-07 06:37:23 +00:00
Ralf Wildenhues
ae669866bd * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Only call sed if
necessary while quoting all libtool variables.
Reported by Robert Ögren <lists@roboros.com>.
2005-04-07 06:29:55 +00:00
Ralf Wildenhues
744d7ce726 * tests/Makefile.am: Typo. 2005-04-05 06:52:08 +00:00
Ralf Wildenhues
4d1452a659 * notes.texi: Platform-specific configuration notes.
* doc/libtool.texi: Include as section.
* bootstrap, doc/Makefile.am: build also as notes.txt and distribute.
2005-04-04 17:38:31 +00:00
Gary V. Vaughan
251628e093 Under certain circumstances, not all of the macro files were
copied into the destination directory.  This changeset fixes
that bug:

* libtoolize.m4sh (func_serial_update):  Renamed local variable
`my_update_p' to `my_serial_update_p', and initialise it correctly
even when the destination file is not yet there.
Reported by Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2005-04-04 17:30:46 +00:00
Gary V. Vaughan
88e2d82a72 * tests/libtoolize.at: New tests for basic libtoolize functionality
and reporting.
* tests/testsuite.at: Call them.
* tests/Makefile.am: Distribute them.
2005-04-04 17:24:40 +00:00
Gary V. Vaughan
f391861a20 * libtoolize.m4sh (pkgvdatadir): Renamed from this...
(_lt_pkgvdatadir): ...to this.
* tests/testsuite.at (LT_AT_LIBTOOLIZE): The `-I' option is no
longer supported by libtoolize.  Set _lt_pkgvdatadir in the
environment of the invocation instead.
2005-04-04 17:16:48 +00:00
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
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