]> git.ipfire.org Git - thirdparty/libtool.git/commit
* ltmain.in (-force-static, force_static): removed
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 16 Dec 1998 05:42:23 +0000 (05:42 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 16 Dec 1998 05:42:23 +0000 (05:42 +0000)
commit07978fe161da738cfc78c6992918a34efb1d87f0
treebd3edaa53160f21783994ee5836ed9a408abffce
parent573ca6907bd43b76cf48696310d61af6c7d7d3f2
* 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
13 files changed:
ChangeLog
libltdl/Makefile.am
libltdl/configure.in
libltdl/ltdl.c
libltdl/ltdl.h
mdemo/Makefile.am
mdemo/configure.in
mdemo/foo.h [moved from mdemo/modules/foo.h with 100% similarity]
mdemo/foo1.c [moved from mdemo/modules/foo1.c with 100% similarity]
mdemo/foo2.c [moved from mdemo/modules/foo2.c with 100% similarity]
mdemo/modules/.cvsignore [deleted file]
mdemo/modules/Makefile.am [deleted file]
tests/mdemo-exec.test