Commit Graph

346 Commits

Author SHA1 Message Date
Alexandre Oliva
07978fe161 * ltmain.in (-force-static, force_static): removed
* libltdl/Makefile.am (CFLAGS): ditto
	* libltdl/configure.in: check for memory.h, rindex() and
	dlpreopening.  Fixed NEED_USCORE caching policy.
	* libltdl/ltdl.h (lt_dlsym): make the name argument const
	* libltdl/ltdl.c (types): new variable: head of list of available
	dlopening mechanisms
	(lt_dltype_t): interface of a dlopening mechanism, with pointers
	to functions for init, exit, open, close and sym
	(lt_dlhandle_t): added pointer to interface type
	(strdup): don't name it strdup; it can be troublesome
	(strrchr): ditto; use rindex if available
	(LIBTOOL_STATIC): check HAVE_DLPREOPEN instead, and move to the
	end of the file, so that it becomes the header of the list
	(all): renamed all interface-implementation functions, to avoid
	name clashes, and created lt_dltype_t nodes for all of them
	(lt_dlinit): initialize all available interfaces; remove those
	that fail from the list.  Return failure only if no interfaces
	could be initialized.
	(lt_dlexit): return number of failures
	(tryall_dlopen): try to open the library with all available
	interfaces
	(lt_dlopen): use tryall_dlopen; increased size of fixed buffers.
	We should probably make these bound-checked or dynamically
	allocated for the final release!  Fix bug when filename did not
	contain slashes; should we check for `\\' too?  Try old_library if
	everything else fails.
	(lt_dlclose): use the interface type for closing
	(lt_dlsym): make `symbol' const, use interface type for looking up
	* mdemo/Makefile.am: moved mdemo/modules/* back into mdemo
	(SUBDIRS): removed
	(libfoo2_la_LDFLAGS): added -static; nice test.  However, since it
	causes -lm to linked into hell*, it causes tests that should fail
	to pass
	(noinst_HEADERS): no need to install foo.h
	* mdemo/configure.in: remove modules/Makefile
	tests/mdemo-exec.test: updated accordingly
1998-12-16 05:42:23 +00:00
Alexandre Oliva
573ca6907b * NEWS: Added Thomas Tanner and Gary V. Vaughan to the list of new
maintainers.  Detailed expected failures of libtldl+mdemo.  Listed
	recent ports.  Added full URL for the home page.  Note that
	libtool C program is unusable.
1998-12-16 05:15:24 +00:00
Bruno Haible
9aa2f8c377 * doc/libtool.texi (Tested platforms): broken `sed' programs 1998-12-16 04:07:38 +00:00
Alexandre Oliva
0fea1ca41c * THANKS: added Stephan Kulow; removed Gary V. Vaughan and Thomas
Tanner, now that they're AUTHORS
1998-12-16 03:59:33 +00:00
Stephan Kulow
779c2f4108 * ltmain.in (freebsd-aout, freebsd-elf): added missing dot to
versuffix
1998-12-16 03:56:49 +00:00
Alexandre Oliva
1cd80e8044 * libltdl/Makefile.am (EXTRA_DIST): removed, nothing needed
(libtool): automatically update
1998-12-16 02:40:54 +00:00
Alexandre Oliva
e392b24787 * libltdl/configure.in (stdlib.h, unistd.h, stdio.h): check
* libltdl/ltdl.c: include them
1998-12-16 02:39:15 +00:00
Alexandre Oliva
508ebd073c * demo/configure.in (BINARY_HELLDL): test whether dlopen is
supported at configure time
	* demo/Makefile.am (helldl): use automake conditionals to build
	helldl as a script or as a binary program
1998-12-16 02:36:20 +00:00
Alexandre Oliva
60fdde04e2 * tests/Makefile.am (EXTRA_DIST): remove ltdl-*.test
(clean-local): don't clean libltdl any more
	* tests/ltdl-conf.test: removed
	* tests/ltdl-inst.test: ditto
	* tests/ltdl-make.test: ditto
	* tests/ltdl-unst.test: ditto
	* tests/mdemo-make.test: updated accordingly
	* tests/mdemo-inst.test: ditto
	* tests/mdemo-unst.test: ditto
	* doc/libtool.texi: ditto
1998-12-16 02:31:59 +00:00
Alexandre Oliva
64b3cf7ae9 * ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined
only for -force-static; it should be removed soon, before people
	start to use it
1998-12-16 02:28:53 +00:00
Alexandre Oliva
175973d1cf * configure.in (AC_CONFIG_SUBDIRS): added libltdl
* Makefile.am (SUBDIRS): build libltdl by default
	(DIST_SUBDIRS): simplify distribution of demo and mdemo
	(libtool, clibtool, libtoolize, ltconfig, ltmain.sh): add
	srcdir where appropriate
	(ACINCLUDE_M4_LIST): new rule for maintaining links from
	acinclude.m4 to libtool.m4
	(*demo/Makefile.in): don't update autoconf/automake files any
	more; make check is needed
1998-12-16 02:27:01 +00:00
Gary V. Vaughan
5962995c46 fixed archive_cmds for cygwin32 1998-12-14 15:14:47 +00:00
Thomas Tanner
1c3b55c703 *** empty log message *** 1998-12-11 23:21:03 +00:00
Alexandre Oliva
8c0eb23b8b * PORTING: removed the text Akim Demaille converted to .texi
* doc/libtool.texi: converted inter-library dependencies
 	instructions from PORTING
1998-12-09 12:37:37 +00:00
Alexandre Oliva
e8e76d36b5 * ltmain.in (convenience, deplibs): propagate dependencies
* libltdl/Makefile.am (noinst_HEADERS): don't install ltdl.h yet
	(noinst_LTLIBRARIES): ditto for libltdl.la
1998-12-09 07:51:54 +00:00
Alexandre Oliva
c3548b28ec C++ problems are documented 1998-12-09 07:50:08 +00:00
Gary V. Vaughan
7bb6cc50a7 new release procedure 1998-12-08 18:36:31 +00:00
Thomas Tanner
f906af718a *** empty log message *** 1998-12-08 13:12:10 +00:00
Alexandre Oliva
dd4a154341 * configure.in: we no longer use PRCS 1998-12-07 12:22:56 +00:00
Alexandre Oliva
83cf17b8d5 * doc/libtool.texi (author): listed all the AUTHORS
(Dlopen issues): added reference to libltdl, still undocumented
	(C++ libraries): it's not *that* simple, after all :-(
	(Inter-library dependencies): they're back!
1998-12-07 11:39:16 +00:00
Alexandre Oliva
5612a7ec93 * libtool.m4 (ac_cv_sys_symbol_underscore): `test a == b' doesn't
work, use `test a = b' instead
1998-12-04 23:21:52 +00:00
Alexandre Oliva
94e3a3decd * Makefile.am (mdemo_distfiles): libfoo[12].sym no longer exist 1998-12-04 21:45:47 +00:00
Alexandre Oliva
312845d704 * ltconfig.in (solaris): do not use $CC for linking if GNU ld is
not available
1998-12-04 21:43:21 +00:00
Manfred Weichel
f14ddcdf3b * ltconfig.in: Port to SCO UnixWare 7.x. 1998-12-04 20:32:36 +00:00
Thomas Tanner
c23e0a74db *** empty log message *** 1998-12-03 20:49:31 +00:00
Gary V. Vaughan
9817e05d7b portability enhancements 1998-12-02 13:05:23 +00:00
Thomas Tanner
3ce33a45f6 *** empty log message *** 1998-12-01 22:35:00 +00:00
Thomas Tanner
37c8df2bb4 *** empty log message *** 1998-12-01 22:32:54 +00:00
Gary V. Vaughan
f889fe0333 updated homepage address 1998-12-01 18:55:16 +00:00
Gary V. Vaughan
62eb32d68c Update the dll generation shell code for cygwin32. 1998-12-01 18:45:30 +00:00
Gary V. Vaughan
efbf1218c5 Test for leading underscore on compiled symbols at configure time.
Use the results of that test in the demo program.
1998-12-01 18:24:08 +00:00
Alexandre Oliva
a6d6c031d9 imported from autoconf CVS tree 1998-12-01 17:00:17 +00:00
Alexandre Oliva
d5cb757397 Initial revision 1998-12-01 16:49:51 +00:00
Gary V. Vaughan
ad3e928936 require AC_CANONICAL_HOST for path canonicalization 1998-11-27 18:42:12 +00:00
Gary V. Vaughan
0e672b6be3 Added LD path canonicalization. 1998-11-27 16:52:37 +00:00
Gary V. Vaughan
2a86145cbf Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4. 1998-11-27 15:17:21 +00:00
Alexandre Oliva
22118136a0 * libtool.spec (URL): point to www.gnu.org
(Source): point to ftp.gnu.org

	* Makefile.am (EXTRA_DIST): removed libtool.prj
	Reported by Akim Demaille <demaille@inf.enst.fr>
1998-11-27 00:09:28 +00:00
Alexandre Oliva
752bc3a36a * ltconfig.in (echo): avoid shell error messages when we're
testing for large command line support
	Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
1998-11-25 02:28:38 +00:00
Alexandre Oliva
3a823c4709 * doc/PLATFORMS: updated last-tested release for platforms I've
got access to

	* THANKS: added Chris P. Ross

	* ltconfig.in: added recognition of the dynamic linker on BSD/OS 4.x
	* README: added BSD/OS 4.x to the list of supported platforms
	* doc/PLATFORMS: added BSD/OS 4.x support for various host id's
1998-11-25 01:20:59 +00:00
David Heine
2a0eaa6262 * ltmain.in (pass_all): actively pass the flags 1998-11-25 01:00:15 +00:00
Thomas Tanner
2b98638b48 *** empty log message *** 1998-11-24 20:38:00 +00:00
Thomas Tanner
4982013c54 added simple inter-library dependencies demo (doesn't work yet!) 1998-11-24 20:32:39 +00:00
Thomas Tanner
f9b0dae473 Initial revision 1998-11-24 20:32:39 +00:00
Thomas Tanner
2bbff0ffe7 added me as co-maintainer 1998-11-23 21:27:21 +00:00
Thomas Tanner
a4f2b1f846 *** empty log message *** 1998-11-23 21:26:38 +00:00
Alexandre Oliva
405661a0fa * libltdl/ltdl.c: replace NULL with 0, so that we don't depend on
header files defining it.
1998-11-21 07:45:20 +00:00
Alexandre Oliva
02424f059f * ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create
libraries with gcc -shared if using gcc without GNU ld.

	* ltconfig.in: replaced occurrences of solaris2 with solaris, to
	prepare for Solaris 7
1998-11-21 06:42:36 +00:00
Alexandre Oliva
073f9e6582 added message with -export-symbols syntax for various platforms 1998-11-21 06:40:20 +00:00
Alexandre Oliva
d4326213cb * mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen
(hell_LDFLAGS): added -export-dynamic and -dlopen
	(SUBDIRS, INCLUDES): added modules directory
	(foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules
	* Makefile.am: ditto
	* tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved
	* mdemo/modules/Makefile.am: new file

	* */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
1998-11-19 22:53:40 +00:00
Alexandre Oliva
39eaa038a1 * ltmain.in: missing test' between &&' and `"$module"' 1998-11-19 20:31:26 +00:00