Commit Graph

2350 Commits

Author SHA1 Message Date
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
f20477da8e Actually commit. 2005-04-29 08:54:10 +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
9a38fb0d0c file link-order.test was initially added on branch branch-1-5. 2005-04-08 15:17:28 +00:00
Ralf Wildenhues
f1810a7404 file duplicate_members.test was initially added on branch branch-1-5. 2005-04-08 15:03:25 +00:00
Ralf Wildenhues
5ba71054db file linkorder.test was initially added on branch branch-1-5. 2005-04-08 13:00:50 +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