Ralf Wildenhues
93a9cf2f9a
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ linux ]: The IBM
...
XL 8.0 C++ compiler may also be called xlc++*, not only xlC*.
Report by Nysal K Jan <jnysal@in.ibm.com>.
2007-11-26 21:42:51 +00:00
Ralf Wildenhues
9072c71a92
* libltdl/m4/libtool.m4 (_LT_CHECK_BUILDDIR): New macro.
...
Warn about whitespace in the absolute build tree name.
(LT_INIT): Use it.
* THANKS: Update.
Report by Jim Meyering.
2007-11-24 08:02:21 +00:00
Ralf Wildenhues
33b873b4ec
* libltdl/config/ltmain.m4sh (func_extract_an_archive)
...
(func_extract_archives): Add some quoting.
2007-11-24 08:00:21 +00:00
Ralf Wildenhues
7c9e236905
Use `${top_build_prefix}' for better compatibility with non-GNU make.
...
* libltdl/m4/ltdl.m4 (_LT_BUILD_PREFIX): New macro.
If the Autoconf version used is >= 2.62, then expand to
`${top_build_prefix}', otherwise to `${top_builddir}/'.
(LTDL_CONVENIENCE, LTDL_INSTALLABLE): Use it for defining
LIBLTDL. Fixes a build failure with AIX make in a package
using convenience libltdl in nonrecursive mode.
* doc/libtool.texi (Distributing libltdl): Document requirements
to define `top_build_prefix' if Automake is not used.
Report by Bob Friesenhahn.
2007-11-16 07:08:34 +00:00
Ralf Wildenhues
f4695bde76
Avoid warnings about conftest.dSYM directories on Mac OS X Leopard.
...
* libltdl/m4/libtool.m4 (_LT_LINKER_BOILERPLATE)
(_LT_LINKER_OPTION, _LT_CMD_GLOBAL_SYMBOLS): Remove
conftest.dSYM directory.
Report and analysis by Jeff Squyres and Peter O'Gorman.
2007-11-12 19:44:05 +00:00
Ralf Wildenhues
b575a0a3f9
* libltdl/configure.ac: Drop the broken and long-disabled code
...
to output a banner for the libltdl configure. Avoids the need
to ship mkstamp with libltdl.
2007-11-09 06:47:15 +00:00
Ralf Wildenhues
f664fead41
* tests/runpath-in-lalib.at: New test.
...
* Makefile.am: Update.
Report by Benoit SIGOURE <tsuna@lrde.epita.fr>.
2007-11-08 21:38:27 +00:00
Eric Blake
e0c01e9892
Speed up bootstrap by improving lt_join.
...
* libltdl/m4/ltsugar.m4 (lt_join, _lt_join): Rewrite to mirror
Autoconf 2.62's faster implementation.
2007-10-16 22:45:49 +00:00
Eric Blake
f766edbeb9
Whitespace cleanup.
...
* libltdl/m4/ltsugar.m4: Avoid space-tab in indents.
* libltdl/m4/libtool.m4: Avoid trailing space.
2007-10-12 20:54:44 +00:00
Eric Blake
5b560bdf3f
Deal with Autoconf 2.62's semantic change in m4_append.
...
* libltdl/m4/ltsugar.m4 (lt_append): Replace broken versions of
m4_append.
(lt_if_append_uniq): Don't require separator to be overquoted, and
avoid broken m4_append.
(lt_dict_add): Fix typo.
* libltdl/m4/libtool.m4 (_LT_DECL): Don't overquote separator.
2007-10-12 20:41:35 +00:00
Ralf Wildenhues
e886f1e796
* libltdl/config/ltmain.m4sh: Also sanitize `LANGUAGE'.
...
(func_mode_execute): Also restore `LANGUAGE', for old glibc.
Report by Paul Eggert against Autoconf.
2007-10-12 16:35:15 +00:00
Eric Blake
0189c20e44
* libltdl/.cvsignore: Ignore argz.h.
2007-10-12 02:48:56 +00:00
Ralf Wildenhues
34700eacf5
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC)
...
<lt_cv_prog_compiler_pic_works>: Renamed from
lt_prog_compiler_pic_works.
<lt_cv_prog_compiler_static_works>: Renamed from
lt_prog_compiler_static_works.
* NEWS: Update.
2007-10-11 17:23:33 +00:00
Ralf Wildenhues
257d1210cb
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
...
extension `.sx'.
* tests/suffix.test: Test it.
2007-10-09 19:32:45 +00:00
Ralf Wildenhues
f5bb5e0e7a
* libltdl/lt_dlloader.c (loader_callback, lt_dlloader_get): Use
...
NULL, not 0, for the benefit of too picky compilers like PGI.
* slist.c (slist_tail): Likewise. Include stddef.h, for NULL.
Report by Jeff Squyres.
2007-09-07 02:44:57 +00:00
Eric Blake
22204a9ff8
* libltdl/ltdl.c (lt_dlcaller_get_data): Work even when no caller
...
has set data.
2007-09-05 14:48:54 +00:00
Ralf Wildenhues
6621aa6b9b
* doc/libtool.texi (User defined module data)
...
<lt_dlinterface_register>: Document that a NULL place matches
all modules.
* libltdl/lt_dlloader.c (lt_dlloader_remove): Actually iterate
over all open modules when looking for modules that use it.
If a resident module is found, return but do not set the error
string.
* libltdl/ltdl.c (lt_dlexit): When removing dlloaders, ignore
errors that stem from earlier failed commands. Exposed by the
lt_dladvise test.
Fixes regression over branch-1-5.
Memleak report as Coverity CID 19 via Jeff Squyres.
2007-09-04 18:01:33 +00:00
Ralf Wildenhues
e14f5d12ae
* NEWS: Update.
2007-09-01 10:55:42 +00:00
Ralf Wildenhues
4fd2348691
* libltdl/ltdl.c (trim): Fix possible write beyond array bound.
2007-09-01 10:49:19 +00:00
Ralf Wildenhues
361ec0ead5
* libltdl/ltdl.c (lt_dlopenadvise): Instead of asserting, return
...
FILE_NOT_FOUND if the filename is "".
2007-09-01 10:43:28 +00:00
Ralf Wildenhues
86a2c620c8
* libltdl/ltdl.c (try_dlopen): Fix computation of extension,
...
avoids subtracting pointer from NULL pointer.
2007-09-01 10:42:34 +00:00
Ralf Wildenhues
8dbd989470
* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Do not test
...
array address of sys_dlsearch_path against NULL, rather test for
nonempty contents.
Coverity reports CID 148 and CID 149 via Jeff Squyres.
2007-09-01 08:13:20 +00:00
Ralf Wildenhues
fbbe0e88e4
* libltdl/ltdl.c (tryall_dlopen_module): Fix string length
...
computation: do not allocate more than needed.
2007-09-01 08:10:02 +00:00
Ralf Wildenhues
9b115eaaa6
* libltdl/loaders/preopen.c (vm_close): `module' is unused.
...
Coverity report CID 158 via Jeff Squyres.
2007-08-30 18:39:10 +00:00
Ralf Wildenhues
f7b428d2d9
* libltdl/ltdl.c (parse_dotla_file): If we run out of memory,
...
do not close the .la file twice.
Coverity report CID 440 via Jeff Squyres.
2007-08-30 18:23:24 +00:00
Ralf Wildenhues
56e12a2db6
* libltdl/ltdl.c (has_library_ext): Remove dead code.
...
Coverity report CID 561 against Open MPI via Jeff Squyres.
2007-08-30 18:18:31 +00:00
Ralf Wildenhues
208dd66070
* libltdl/slist.c (slist_remove): When a matching item is found,
...
break out of the loop to return the first match; also fixes
possible NULL dereference.
2007-08-29 21:01:20 +00:00
Ralf Wildenhues
1e63751c04
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
...
(_LT_LANG_CXX_CONFIG) [ linux ]: Add support for IBM XL 8.0
C/C++ (xlc*, xlC*) and IBM XL Fortran 10.1 (xlf*) on GNU/Linux,
tested on ppc, pending a $shlibpath_var related fix.
(_LT_SYS_HIDDEN_LIBDEPS): Double-quote $output_verbose_link_cmd
properly during evaluation, obsoleting $no_glob_subst mangling.
* NEWS: Update.
2007-08-29 20:54:53 +00:00
Ralf Wildenhues
134fc3083b
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
...
[ k*bsd*-gnu ] <shlibpath_overrides_runpath>: Avoid spurious
output in runpath test.
2007-08-18 09:18:44 +00:00
Ralf Wildenhues
b4f7879633
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [ mingw, cygwin ]
...
<GCJ>: Do not use -DDLL_EXPORT.
Report by Ross Ridge <rridge@csclub.uwaterloo.ca>.
2007-08-16 18:22:03 +00:00
Ralf Wildenhues
a26314cfd8
* Makefile.am (edit): Do not warn against manual editing for the
...
generated files libtool, libtoolize, libltdl/m4/ltversion.m4,
tests/defs, as they are still in a preferred source code form as
required by GPL.
Report by DJ Delorie.
2007-08-16 18:18:39 +00:00
Dirk Mueller
f5df807204
* libltdl/ltdl.c (parse_dotla_file): Avoid a strlen. When
...
reading .la files, cope with files that are not
newline-terminated.
2007-08-15 21:38:31 +00:00
Tilman Koschnick
713e2ae052
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
...
[ linux ]: Treat pgcpp as Portland Group C++ compiler as well.
2007-08-05 11:44:44 +00:00
Ralf Wildenhues
2e54f75846
* libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
...
`filename', as the former has the needed extension when called
by lt_dlopenext.
Report by Brian Barrett.
2007-08-05 11:06:14 +00:00
Peter Rosin
8b8688e3ee
* Makefile.am: Pass STRIP through to the testsuite, so that
...
tests that run configure will use the same strip program.
2007-07-26 22:44:39 +00:00
Ralf Wildenhues
28be809ea3
* tests/mdemo-exec.test: Also try absolute library names.
...
* tests/mdemo/main.c (test_dl, main): Try lt_dlopenext as well.
* THANKS: Update.
Report by Brian Barrett.
2007-07-24 05:10:03 +00:00
Ralf Wildenhues
6baa7daaf3
* ChangeLog: Fix typo.
2007-07-24 03:44:24 +00:00
Ralf Wildenhues
c0f72e1d8d
Update all mention of FDL to 1.2.
2007-07-23 22:35:29 +00:00
Ralf Wildenhues
0a0134c0fc
* doc/fdl.texi: Update to GFDL 1.2.
...
* doc/libtool.texi: Adjust. Put License in Appendix.
2007-07-23 22:33:12 +00:00
Ralf Wildenhues
be2de73790
* libltdl/config/ltmain.m4sh (func_mode_link): Remove each
...
intermediate relinked object after use, to avoid quadratic space
complexity when linking partially.
Report by Isidor Zeuner <eezyy@gmx.net>.
2007-07-23 17:46:28 +00:00
Eric Blake
a54fca4ff1
Fix ChangeLog entry.
2007-07-23 17:44:35 +00:00
Eric Blake
310551c9c4
* libltdl/config/ltmain.m4sh: Whitespace cleanup.
2007-07-23 12:23:27 +00:00
Eric Blake
0c71a62ede
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:
...
chase_symlinks): Avoid compiler warning.
2007-07-23 12:10:31 +00:00
Peter Rosin
781fc82e1b
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Add
...
support for Microsoft Visual C. Also, older MinGW versions
seem to need stdint.h to find intptr_t.
2007-07-22 17:57:10 +00:00
Ralf Wildenhues
b3251f4d7e
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]:
...
Ignore lines in ld.so.conf starting with 'hwcap '.
2007-07-22 08:55:11 +00:00
Charles Wilson
3c72a3a00d
* tests/cdemo-exec.test: use $EXEEXT where appropriate
...
to correct mingw cross-compile issues.
* demo-deplibs.test: Ditto.
* demo-exec.test: Ditto.
* demo-inst.test: Ditto.
* demo-relink.test: Ditto.
* depdemo-exec.test: Ditto.
* depdemo-inst.test: Ditto.
* depdemo-relink.test: Ditto.
* f77demo-exec.test: Ditto.
* fcdemo-exec.test: Ditto.
* mdemo-exec.test: Ditto.
* mdemo-inst.test: Ditto.
* mdemo2-exec.test: Ditto.
* pdemo-exec.test: Ditto.
* pdemo-inst.test: Ditto.
* tagdemo-exec.test: Ditto.
2007-07-16 22:53:06 +00:00
Peter Rosin
8623a050c8
* AUTHORS, THANKS: Peter Ekberg got married, now Peter Rosin.
2007-07-14 18:46:19 +00:00
Charles Wilson
f88b089413
* libltdl/m4/libtool.m4 (func_dirname_and_basename) <XSI>:
...
New function.
(func_dirname_and_basename) <!XSI>: New function.
* libltdl/config/ltmain.m4sh (func_ltwrapper_scriptname):
Call it. Also, take advantage of missed optimization using
func_dirname's additional arguments.
(func_mode_compile): Call it.
(func_mode_install): Call it.
(func_mode_link): Call it.
2007-07-13 07:21:39 +00:00
Peter Rosin
5a3cf05510
* libltdl/config/ltmain.m4sh (func_mode_link): Strip the cwrapper
...
using $STRIP instead of relying on the tools to support -s, which
MSVC doesn't.
2007-07-12 06:47:06 +00:00
Peter O'Gorman
688e0a551c
* libltdl/config/libtool.m4sh: Don't pass -msg_* through to the
...
linker.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
2007-07-07 05:09:10 +00:00