]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
26 years ago* */configure.in: AC_SUBST(LIBTOOL_DEPS)
Alexandre Oliva [Thu, 11 Mar 1999 21:28:36 +0000 (21:28 +0000)] 
* */configure.in: AC_SUBST(LIBTOOL_DEPS)
* */Makefile.am $(OBJECTS): depend on libtool
(libtool): rebuild automatically

26 years ago* ltconfig.in: set dlopen_* variables to unknown when appropriate
Alexandre Oliva [Thu, 11 Mar 1999 16:11:05 +0000 (16:11 +0000)] 
* ltconfig.in: set dlopen_* variables to unknown when appropriate
* ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if
*all* dlopen_* variables are set to unknown

26 years ago* ltmain.in: delete the old output files (incl. the relinked binary)
Thomas Tanner [Thu, 11 Mar 1999 12:31:46 +0000 (12:31 +0000)] 
* ltmain.in: delete the old output files (incl. the relinked binary)
  before linking.

26 years ago* ltconfig.in: replaced `configure' with $progname and all
Thomas Tanner [Thu, 11 Mar 1999 08:23:19 +0000 (08:23 +0000)] 
* ltconfig.in: replaced `configure' with $progname and all
  line numbers with @LINENO@

26 years ago* libltdl/ltdl.c (strdup): cannot return str when it's NULL
Alexandre Oliva [Thu, 11 Mar 1999 03:14:54 +0000 (03:14 +0000)] 
* libltdl/ltdl.c (strdup): cannot return str when it's NULL
because of const correctness

26 years ago* libltdl/ltdl.c (strdup): always use our own, because the
Alexandre Oliva [Thu, 11 Mar 1999 02:50:13 +0000 (02:50 +0000)] 
* libltdl/ltdl.c (strdup): always use our own, because the
standard strdup won't use lt_dlmalloc

26 years ago* ltconfig.in (dlfcn.h): function definition may cause warnings;
Alexandre Oliva [Thu, 11 Mar 1999 02:26:29 +0000 (02:26 +0000)] 
* ltconfig.in (dlfcn.h): function definition may cause warnings;
define variable instead

26 years agoAn account at gnu.org is no longer needed for the common files,
Alexandre Oliva [Thu, 11 Mar 1999 01:26:34 +0000 (01:26 +0000)] 
An account at gnu.org is no longer needed for the common files,
they're available for anonymous CVS

26 years ago* ltmain.in: properly create an export file for a program,
Alexandre Oliva [Thu, 11 Mar 1999 01:21:57 +0000 (01:21 +0000)] 
* ltmain.in: properly create an export file for a program,
avoiding error messages about not finding it

26 years ago* TODO: need to document AC_LIBLTDL_*; static self dlopening
Alexandre Oliva [Thu, 11 Mar 1999 01:17:01 +0000 (01:17 +0000)] 
* TODO: need to document AC_LIBLTDL_*; static self dlopening
problem fixed

26 years ago* libtool.m4 (AC_LIBTOOL_DLOPEN): just set lt_dlopen=yes
Alexandre Oliva [Thu, 11 Mar 1999 01:13:56 +0000 (01:13 +0000)] 
* libtool.m4 (AC_LIBTOOL_DLOPEN): just set lt_dlopen=yes
(AC_LIBTOOL_SETUP): if lt_dlopen=yes, add --enable-dlopen to
libtool_flags; drop --enable-dlopen-self
* ltconfig.in: perform all the dirty work of testing for dlopening
support, because we need platform-dependent equivalents for
-export-dynamic, for self dlopening, and -static, for static self
dlopening
(dlopen_self_static): new configuration variable that is set to
yes only if static programs can dlopen themselves
* ltmain.in (-static, -all-static): dlopen_self=dlopen_self_static

26 years ago* libltdl/configure.in (libltdl_cv_need_uscore): do not assume
Alexandre Oliva [Thu, 11 Mar 1999 00:58:19 +0000 (00:58 +0000)] 
* libltdl/configure.in (libltdl_cv_need_uscore): do not assume
dlfcn.h and LTDL_LAZY exist; use LTDL_GLOBAL and LTDL_LAZY_OR_NOW.
This test is likely to fail if self-dlopening does not work,
especially because we do not link the program with
-export-dynamic.  Let's just hope that platforms whose symbol
names start with underscores will also accept underscores for
dlopen.  We should probably use libtool to compile and link this
test, so that we can use -export-dynamic.

26 years ago* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h
Alexandre Oliva [Thu, 11 Mar 1999 00:44:13 +0000 (00:44 +0000)] 
* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h

26 years ago* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
Alexandre Oliva [Thu, 11 Mar 1999 00:31:22 +0000 (00:31 +0000)] 
* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
so that they work if srcdir is relative too

26 years ago* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
Alexandre Oliva [Wed, 10 Mar 1999 21:23:37 +0000 (21:23 +0000)] 
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
avoid introducing multiple --enable options when re-running
config.status
* libltdl/configure.in: if enable_ltdl_* is not set, assume no
* configure.in: if enable_ltdl_install is not set, enable it

26 years ago* libltdl/configure.in: only assume implicit installation if
Alexandre Oliva [Wed, 10 Mar 1999 20:39:03 +0000 (20:39 +0000)] 
* libltdl/configure.in: only assume implicit installation if
libltdl was libtoolized.  If not, print a warning message
suggesting the use of --enable-ltdl-install or of one of the
AC_LIBLTDL_* macros.

26 years ago* libtool.m4 (AC_LIBTOOL_SETUP): new macro, that does all the
Alexandre Oliva [Wed, 10 Mar 1999 20:24:40 +0000 (20:24 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): new macro, that does all the
configure-work that AC_PROG_LIBTOOL used to do; add
--cache-file=$cache_file to libtool_flags
(AC_PROG_LIBTOOL): call AC_LIBTOOL_SETUP, save the cache, run
ltconfig and reload the cache
* configure.in: run AC_LIBTOOL_SETUP, then set LIBTOOL_FLAGS to
libtool_flags
* ltconfig.in: support --cache-file switch.  If it is used, load
the cache in the beginning and save it just before terminating

26 years ago* tests/Makefile.am (TESTS): run demo-nofast before demo-shared
Alexandre Oliva [Wed, 10 Mar 1999 18:28:49 +0000 (18:28 +0000)] 
* tests/Makefile.am (TESTS): run demo-nofast before demo-shared

26 years ago* configure.in: create ltconfig and ltmain.sh at the end of
Alexandre Oliva [Wed, 10 Mar 1999 18:12:02 +0000 (18:12 +0000)] 
* configure.in: create ltconfig and ltmain.sh at the end of
config.status, if they do not exist.  This fixes the bootstrap
problem reported by Erez Zadok <ezk@cs.columbia.edu>

26 years ago*** empty log message ***
Thomas Tanner [Wed, 10 Mar 1999 17:28:39 +0000 (17:28 +0000)] 
*** empty log message ***

26 years ago* NEWS: ordered by importance
Thomas Tanner [Wed, 10 Mar 1999 17:23:28 +0000 (17:23 +0000)] 
* NEWS: ordered by importance
* Makefile.am: set LIBTOOL_FLAGS when generating libtool
* configure.in: check for dlopen support and set LIBTOOL_FLAGS
  accordingly

26 years ago* configure.in: fix spacing for --disable-ltdl-install,
Thomas Tanner [Wed, 10 Mar 1999 16:16:03 +0000 (16:16 +0000)] 
* configure.in: fix spacing for --disable-ltdl-install,
  always configure libltdl, add libltdl/acinclude.m4 to
  ACINCLUDE_M4_LIST, disable installation of libltdl if necessary
* libltdl/Makefile.am: set version info for libltdl.la
* libltdl/configure.in: don't check whether
  enable_ltdl_convenience/install was set so that libltdl
  can be used as independent package (libltdl.tar.gz) without
  the need to use --enable-ltdl*
* libltdl/ltdl.c: minor cleanups, allocate the line cache
  dynamically (lt_dlopen)

26 years ago* libltdl/ltdl.c (lt_dlopen): some preprocessors choke if the `#'
Alexandre Oliva [Wed, 10 Mar 1999 14:33:22 +0000 (14:33 +0000)] 
* libltdl/ltdl.c (lt_dlopen): some preprocessors choke if the `#'
of `#define' is not in column 1; let's go back to fortran! :-)
Add #undefs too, to avoid potential warnings or errors.

26 years ago* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
Alexandre Oliva [Tue, 9 Mar 1999 23:09:01 +0000 (23:09 +0000)] 
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
renamed convenience libltdl, dropped toinst hack for installable
* libltdl/Makefile.am: ditto
* libltdl/configure.in: ditto; abort if none of the macros is used

26 years ago* ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt-
Alexandre Oliva [Tue, 9 Mar 1999 23:04:14 +0000 (23:04 +0000)] 
* ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt-

26 years ago* libltdl/ltdl.c (lt_dlopen): don't hardcode the length of the
Thomas Tanner [Tue, 9 Mar 1999 23:00:24 +0000 (23:00 +0000)] 
* libltdl/ltdl.c (lt_dlopen): don't hardcode the length of the
  constant strings

26 years ago* Makefile.am (install-data-hook): install libltdl as a directory,
Alexandre Oliva [Tue, 9 Mar 1999 22:57:26 +0000 (22:57 +0000)] 
* Makefile.am (install-data-hook): install libltdl as a directory,
not as a tar-file, so that we do not modify the build tree at make
install time
* libtoolize.in (ltdl, ltdl_tar): update

26 years ago* configure.in, Makefile.am, NEWS: install libltdl by default
Alexandre Oliva [Tue, 9 Mar 1999 22:13:49 +0000 (22:13 +0000)] 
* configure.in, Makefile.am, NEWS: install libltdl by default

26 years ago* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
Alexandre Oliva [Tue, 9 Mar 1999 22:02:09 +0000 (22:02 +0000)] 
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
new macros
* NEWS: ditto
* libltdl/configure.in: if none of the new macros or configure
arguments are used, warn and build convenience library only
* libltdl/Makefile.am: conditionally build convenience libltdl.la
* mdemo/configure.in: use AC_LIBLTDL_CONVENIENCE
* mdemo/Makefile.am: refer to @LIBLTDL@

26 years ago* NEWS: updated.
Gary V. Vaughan [Tue, 9 Mar 1999 12:47:06 +0000 (12:47 +0000)] 
* NEWS: updated.

26 years ago* ltmain.in: extract symbols from program objects to nlist first,
Alexandre Oliva [Mon, 8 Mar 1999 21:55:25 +0000 (21:55 +0000)] 
* ltmain.in: extract symbols from program objects to nlist first,
then translate them to the export_symbols format.  Now it works,
but it appears to be needlessly extracting the symbol list from
dlpreopened libraries twice

26 years ago* ltmain.in: temporarily disable dlopen_self when linking with
Alexandre Oliva [Mon, 8 Mar 1999 21:21:55 +0000 (21:21 +0000)] 
* ltmain.in: temporarily disable dlopen_self when linking with
-static or -all-static, until we figure out how to test whether it
works at configure time
* TODO: remember to fix this later

26 years ago* tests/build-relink.test: when hell is expected to fail, run it
Alexandre Oliva [Mon, 8 Mar 1999 21:08:09 +0000 (21:08 +0000)] 
* tests/build-relink.test: when hell is expected to fail, run it
within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode

26 years ago* ltmain.in (hardcode_libdir_separator, compile_rpath,
Alexandre Oliva [Mon, 8 Mar 1999 20:55:57 +0000 (20:55 +0000)] 
* ltmain.in (hardcode_libdir_separator, compile_rpath,
finalize_rpath): only substitute hardcode_libdir_flag_spec if
hardcode_libdirs is non-empty

26 years ago* libtool.m4 (AC_LIBTOOL_DLOPEN): do not depend on the existence
Alexandre Oliva [Mon, 8 Mar 1999 20:15:48 +0000 (20:15 +0000)] 
* libtool.m4 (AC_LIBTOOL_DLOPEN): do not depend on the existence
of dlfcn.h nor on the definition of RTLD_LAZY

26 years ago* tests/build-relink.test: hellT was renamed to lt-hell
Alexandre Oliva [Mon, 8 Mar 1999 19:40:54 +0000 (19:40 +0000)] 
* tests/build-relink.test: hellT was renamed to lt-hell

26 years ago* libltdl/Makefile.am (@TOINST@/libltdl.la): do not hide the
Alexandre Oliva [Mon, 8 Mar 1999 18:20:26 +0000 (18:20 +0000)] 
* libltdl/Makefile.am (@TOINST@/libltdl.la): do not hide the
command that creates the TOINST directory; remove `-o $@' from the
LINK command, $(LINK) already contains it.

26 years ago* doc/libtool.texi (tests): documented demo-nofast.test and
Thomas Tanner [Mon, 8 Mar 1999 18:03:19 +0000 (18:03 +0000)] 
* doc/libtool.texi (tests): documented demo-nofast.test and
  renamed cdemo* to demo*

26 years ago* libltdl/Makefile.am, libltdl/configure.in, mdemo/Makefile.am:
Alexandre Oliva [Mon, 8 Mar 1999 17:40:42 +0000 (17:40 +0000)] 
* libltdl/Makefile.am, libltdl/configure.in, mdemo/Makefile.am:
libltdl must not be renamed; if there's a problem with the install
option, let's fix it, not just work around it by breaking code of
users of the convenience library

26 years agoforgot to add demo-nofast.test
Alexandre Oliva [Mon, 8 Mar 1999 17:14:42 +0000 (17:14 +0000)] 
forgot to add demo-nofast.test

26 years ago* tests/build-relink.test: link broken libhello.la with at least
Alexandre Oliva [Mon, 8 Mar 1999 17:06:43 +0000 (17:06 +0000)] 
* tests/build-relink.test: link broken libhello.la with at least
one libtool object

26 years ago* TODO: updated (libltdl build problem fixed)
Thomas Tanner [Mon, 8 Mar 1999 15:56:45 +0000 (15:56 +0000)] 
* TODO: updated (libltdl build problem fixed)
* doc/libtool.texi (libltdl interface): removed the line which
  promised that lt_dlopen will return NULL if it can't resolve all
  symbols
* libltdl/Makefile.am, libltdl/configure.in: fixed build problem:
  renamed the convenience library to libltdlc.la and the
  installed version to libltdl.la
* ltmain.in (wrapper script): replaced the "T" suffix of the program
  file name with a "lt-" prefix
* mdemo/Makefile.am: use libltdlc.la
* tests/Makefile.am, tests/demo-nofast.test: added demo to
  test --enable-fast-install=no

26 years ago* tests/Makefile.am (TESTS): run hardcode before build-relink
Alexandre Oliva [Sun, 7 Mar 1999 23:45:22 +0000 (23:45 +0000)] 
* tests/Makefile.am (TESTS): run hardcode before build-relink
trashes libhello.la
* tests/hardcode.test (need_prefix): set to yes so that _inst is
not removed

26 years ago* ltmain.in (compile_command): append finalize search path to
Alexandre Oliva [Sun, 7 Mar 1999 23:32:34 +0000 (23:32 +0000)] 
* ltmain.in (compile_command): append finalize search path to
compile search path

26 years ago* tests/build-relink.test: new; check shlibpath_overrides_runpath
Alexandre Oliva [Sun, 7 Mar 1999 23:28:05 +0000 (23:28 +0000)] 
* tests/build-relink.test: new; check shlibpath_overrides_runpath
* tests/Makefile.am (TESTS): add build-relink.test; remove
hardcode.test duplicates
* doc/libtool.texi: document it

26 years ago* ltmain.in (relink_command): do not prepend cd `pwd` to it, the
Alexandre Oliva [Sun, 7 Mar 1999 22:46:52 +0000 (22:46 +0000)] 
* ltmain.in (relink_command): do not prepend cd `pwd` to it, the
scripts already enters the correct directory, and expanding the
pathname would prevent the build tree from moving

26 years ago* ltconfig.in (enable_fast_install): force it to no only if we
Alexandre Oliva [Sun, 7 Mar 1999 22:34:30 +0000 (22:34 +0000)] 
* ltconfig.in (enable_fast_install): force it to no only if we
need relink; in the other cases, set it to needless
* ltmain.in (fast_install): if needless, set relink_command empty
* doc/libtool.texi (fast_install, shlibpath_overrides_runpath):
document the new behavior

26 years agotypo
Alexandre Oliva [Sun, 7 Mar 1999 22:02:47 +0000 (22:02 +0000)] 
typo

26 years ago* ltconfig.in (enable_fast_install): test whether it can be forced
Alexandre Oliva [Sun, 7 Mar 1999 20:55:39 +0000 (20:55 +0000)] 
* ltconfig.in (enable_fast_install): test whether it can be forced
off after shlibpath_overrides_runpath and enable_shared are set

26 years ago* TODO: updated
Thomas Tanner [Sun, 7 Mar 1999 18:32:07 +0000 (18:32 +0000)] 
* TODO: updated
* NEWS: updated

26 years ago* TODO: scheduled some items for next release/future
Thomas Tanner [Sun, 7 Mar 1999 15:27:23 +0000 (15:27 +0000)] 
* TODO: scheduled some items for next release/future
* demo/configure.in: use AC_LIBTOOL_DLOPEN
* libtool.m4: added AC_ENABLE/DISABLE_FAST_INSTALL macro
* ltconfig.in: added --disable-fast-install flag
* ltmain.in: partially reverted Alexandre's patch and implemented
  on-demand linking in such a way that the old developer-friendly
  linking style is optional,
  don't hardcode library paths that are in the system search path,
  fixed a typo in lib_search_path,
  implemented -export-symbols-regex for programs

26 years ago* libltdl/ltdl.c (LTDL_LAZY_OR_NOW): renamed from LTDL_NOW; prefer
Alexandre Oliva [Sat, 6 Mar 1999 20:24:57 +0000 (20:24 +0000)] 
* libltdl/ltdl.c (LTDL_LAZY_OR_NOW): renamed from LTDL_NOW; prefer
LAZY loading because it's much faster and NOW is apparently
partially broken on FreeBSD
Reported by Archie Cobbs <archie@whistle.com>

26 years ago* ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
Alexandre Oliva [Sat, 6 Mar 1999 19:41:24 +0000 (19:41 +0000)] 
* ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
$lib.exp already starts with $objdir/
Reported by Godmar Back <gback@cs.utah.edu>

26 years ago* ltmain.in (freebsd): compile symbol table file with pic_flag
Alexandre Oliva [Sat, 6 Mar 1999 19:26:20 +0000 (19:26 +0000)] 
* ltmain.in (freebsd): compile symbol table file with pic_flag
only on FreeBSD and when not static linking; it's been causing
trouble on platforms such as OpenBSD.

26 years ago* libtool.m4 (cygwin): s/\(mingw\|cygwin\)32/\1/g. Must've
Gary V. Vaughan [Fri, 26 Feb 1999 16:20:48 +0000 (16:20 +0000)] 
* libtool.m4 (cygwin): s/\(mingw\|cygwin\)32/\1/g.  Must've
missed this file when I changed to cygnus' new sanction name.

26 years ago* ltconfig.in (sub_uncdrive): removed. This won't work with
Gary V. Vaughan [Fri, 26 Feb 1999 16:17:43 +0000 (16:17 +0000)] 
* ltconfig.in (sub_uncdrive): removed.  This won't work with
the next version of cygwin.
(sub_uncdir): removed. We use <drive>:/path/to/executable now.
* libtool.m4 (AC_PROG_LD): removed sub_uncdrive and sub_uncdir.

26 years ago* TODO: added items for next alpha release, ILD etc.
Thomas Tanner [Thu, 25 Feb 1999 06:46:55 +0000 (06:46 +0000)] 
* TODO: added items for next alpha release, ILD etc.
* libltdl/ltdl.c: removed unnecessary check from presym_sym,
  fixed bug in lt_dlclose, allow lt_dlopenext(NULL),
  set deplibs for lt_dlopen(NULL)

26 years ago* ltmain.in (file_magic_regex): sed `10q' is faster than `11,$d'
Alexandre Oliva [Wed, 24 Feb 1999 10:44:55 +0000 (10:44 +0000)] 
* ltmain.in (file_magic_regex): sed `10q' is faster than `11,$d'

26 years ago* ltconfig.in (dlopen, dlopen_self): default is unknown
Thomas Tanner [Mon, 22 Feb 1999 21:17:56 +0000 (21:17 +0000)] 
* ltconfig.in (dlopen, dlopen_self): default is unknown
* ltmain.in: fixed -dlopen self, print a warning
  if -dlopen is used without AC_LIBTOOL_DLOPEN
* mdemo/Makefile.am: use -dlopen self

26 years ago* ltmain.in: added missing mkdir $progdir for on-demand executable
Alexandre Oliva [Mon, 22 Feb 1999 20:55:45 +0000 (20:55 +0000)] 
* ltmain.in: added missing mkdir $progdir for on-demand executable

26 years ago* ltmain.in: create on-demand executable as $progdir/$$-$program,
Alexandre Oliva [Mon, 22 Feb 1999 20:47:30 +0000 (20:47 +0000)] 
* ltmain.in: create on-demand executable as $progdir/$$-$program,
and rename it to $progdir/$program only when it's finished, to
avoid race conditions.  We can still get the program linked
multiple times, if multiple instances are started simultaneously
and the program does not exist, but they are very unlikely to
interfere with each other.  There's still a possibility that one
process removes the $program another has just created, and doesn't
replace it before the other tries to run it, in a system whose
`mv' is not atomic, so it will $rm then $mv, but so what? :-)
Locking files have been avoided to prevent dead-locks in case they
are left over after a reboot or crash.

26 years ago* TODO: removed ILD, soon to be merged, and added convenience
Alexandre Oliva [Mon, 22 Feb 1999 20:11:08 +0000 (20:11 +0000)] 
* TODO: removed ILD, soon to be merged, and added convenience
libraries docs

26 years ago* ltconfig.in (irix5*, irix6*, shlibpath_overides_runpath): yes
Alexandre Oliva [Mon, 22 Feb 1999 19:53:59 +0000 (19:53 +0000)] 
* ltconfig.in (irix5*, irix6*, shlibpath_overides_runpath): yes

26 years ago* ltmain.in: remove on-demand executable in the proper place, and
Alexandre Oliva [Mon, 22 Feb 1999 19:43:36 +0000 (19:43 +0000)] 
* ltmain.in: remove on-demand executable in the proper place, and
just warn if it can't be removed; add wrapper code to test whether
the install-executable is newer than the build-executable, to
relink it when it appears to be out-of-date

26 years ago* libltdl/configure.in: check for dld.h
Alexandre Oliva [Mon, 22 Feb 1999 19:24:55 +0000 (19:24 +0000)] 
* libltdl/configure.in: check for dld.h
* libltdl/ltdl.c: include dld.h
(dld_open) it's spelled memory_error, not no_memory_error
Reported by Stefan Burstroem <f94sbu@efd.lth.se>

26 years agofixed
Alexandre Oliva [Mon, 22 Feb 1999 18:41:14 +0000 (18:41 +0000)] 
fixed

26 years ago* ltmain.in: fix typos in my last change (s/ocmpile/compile/)
Alexandre Oliva [Mon, 22 Feb 1999 14:31:53 +0000 (14:31 +0000)] 
* ltmain.in: fix typos in my last change (s/ocmpile/compile/)

26 years ago* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
Thomas Tanner [Sun, 21 Feb 1999 15:38:02 +0000 (15:38 +0000)] 
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
  when dlopening the executable
* libtool.m4 (AC_LIBTOOL_DLOPEN): removed the redundant "yes: "
  prefix for lt_cv_dlopen, renamed lt_cv_dlopen_LIBS
  to lt_cv_dlopen_libs (more consistent)
* ltmain.in: implemented -dl[pre]open self, necessary for
  lt_dlopen(NULL), generation of exported symbols was broken

26 years ago* ltmain.in: avoid duplication of -L switches, it sometimes breaks
Alexandre Oliva [Sat, 20 Feb 1999 19:38:26 +0000 (19:38 +0000)] 
* ltmain.in: avoid duplication of -L switches, it sometimes breaks
IRIX 5.2's linker

26 years ago* ltconfig.in (freebsd*, finish_cmds): expand objformat here
Alexandre Oliva [Sat, 20 Feb 1999 18:47:11 +0000 (18:47 +0000)] 
* ltconfig.in (freebsd*, finish_cmds): expand objformat here
Reported by Vladimir Kushnir <kushn@mail.kar.net>

26 years ago* ltconfig.in (freebsd-elf*, need_version, need_lib_prefix): no
Vladimir Kushnir [Sat, 20 Feb 1999 18:39:54 +0000 (18:39 +0000)] 
* ltconfig.in (freebsd-elf*, need_version, need_lib_prefix): no
(freebsd-elf*, library_names_spec): add $libname.so instead of
$libname.so$versuffix; add $libname$release.so

26 years ago* doc/libtool.texi: remove ticks from menu items; it breaks TeX
Alexandre Oliva [Sat, 20 Feb 1999 18:28:05 +0000 (18:28 +0000)] 
* doc/libtool.texi: remove ticks from menu items; it breaks TeX
Reported by Erez Zadok <ezk@cs.columbia.edu>

26 years ago* ltmain.in: fixes for export-symbols dry-run
Alexandre Oliva [Sat, 20 Feb 1999 17:53:19 +0000 (17:53 +0000)] 
* ltmain.in: fixes for export-symbols dry-run

26 years ago* ltconfig.in (shlibpath_overrides_runpath): new variable;
Alexandre Oliva [Sat, 20 Feb 1999 16:42:07 +0000 (16:42 +0000)] 
* ltconfig.in (shlibpath_overrides_runpath): new variable;
determines whether LD_LIBRARY_PATH or equivalent can be used to
override a hard-coded library search path; default to unknown
(linux-gnu*): set it to no
(solaris*, sunos4*): set it to yes
* ltmain.in (build_libdirs_flags, build_libdirs, build_rpath): if
shlibpath_overrides_runpath is not yes, arrange that wrapper
scripts create, on demand, programs that use uninstalled libraries
* doc/libtool.texi: document it

26 years ago* libtool.m4 (AC_LIBTOOL_DLOPEN): check for dlopen in libc before
Alexandre Oliva [Sat, 20 Feb 1999 15:07:54 +0000 (15:07 +0000)] 
* libtool.m4 (AC_LIBTOOL_DLOPEN): check for dlopen in libc before
trying in dl.  Add the actual dlopening type to lt_cv_dlopen, and
add any needed libraries to lt_cv_dlopen_LIBS.  Add test for
MS-Windows' LoadLibrary.  Check whether a program can dlopen
itself only if we really have dlopen(), not some equivalent
function, but leave room for testing with other mechanisms.
(AC_PROG_LIBTOOL): assume some form of dlopen, but not
dlopen(NULL), is available if AC_LIBTOOL_DLOPEN is not used, for
backward compatibility.

26 years ago* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
Archie Cobbs [Sat, 20 Feb 1999 05:23:31 +0000 (05:23 +0000)] 
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
where appropriate, when dlopening a non-libtool library

26 years ago* ltconfig.in (export_symbols_cmds): renamed from
Gary V. Vaughan [Fri, 19 Feb 1999 17:41:51 +0000 (17:41 +0000)] 
* ltconfig.in (export_symbols_cmds): renamed from
export_symbols_cmd.
(cygwin, mingw): Be sure to compile the ltdll.c object before
extracting the exported symbol list.  Extract only the names
of the exported symbols from the def file [otherwise we might
run into trouble with -export-symbols-regex].
(archive_expsym_cmds): Regenerate the def file from the symbol
export list.
(delay_variable_subst): New sed expression to allow us to delay
evaluation of $foo in a double_quote_subst evaluated variable by
using $.
* ltmain.in (export_symbols_cmds): evaluate each ~ delimitted cmd
separately.
* doc/libtool.texi (libtool script contents): new paragraph to
explain the difference between _cmd and _cmds suffixes for
variable names.
(export_symbols_cmds): renamed from export_symbols_cmd.

26 years ago* ltconfig.in (ld_shlibs): move -soname and similar flags to the
Alexandre Oliva [Thu, 18 Feb 1999 20:58:14 +0000 (20:58 +0000)] 
* ltconfig.in (ld_shlibs): move -soname and similar flags to the
end of archive_cmds and archive_expsym_cmds, so as to prevent
gcc's collect2 from inserting an object file between -soname and
the library name

26 years agomissed off the --export-all from the first dlltool call
Alexandre Oliva [Thu, 18 Feb 1999 19:03:12 +0000 (19:03 +0000)] 
missed off the --export-all from the first dlltool call

26 years ago* ltconfig.in (archive{,_sym}_commands): Be careful not to
Alexandre Oliva [Thu, 18 Feb 1999 18:50:24 +0000 (18:50 +0000)] 
* ltconfig.in (archive{,_sym}_commands): Be careful not to
re-export the dll entry points DllMain@12, _cygwin_dll_entry@12 and
_cygwin_noncygwin_dll_entry@12 to avoid bugs with the wrong entry
function being called with inter-dll dependencies.
Reported by DJ Delorie <dj@delorie.com>
* THANKS: Added DJ Delorie, since his code inspired the impgen.c
program and because he has patiently answered all of the
irritating dll and win32 questions I have fired at him.

26 years ago* ltconfig.in (openbsd*, netbsd*, library_names_spec): append
Alexandre Oliva [Thu, 18 Feb 1999 17:57:29 +0000 (17:57 +0000)] 
* ltconfig.in (openbsd*, netbsd*, library_names_spec): append
alternate name without ${release}, otherwise build fails when
-release is used

26 years ago* ltmain.in (version_type): Oops. Irix versioning implies that
Gary V. Vaughan [Thu, 18 Feb 1999 15:24:03 +0000 (15:24 +0000)] 
* ltmain.in (version_type):  Oops.  Irix versioning implies that
major version numbers are 1 based (not zero based).  Fixed.

26 years ago* ltmain.in (version_type): Implement irix versioning.
Gary V. Vaughan [Thu, 18 Feb 1999 15:14:41 +0000 (15:14 +0000)] 
* ltmain.in (version_type): Implement irix versioning.
* ltconfig.in (irix{5,6}*): Use new irix shared object versioning.
* TODO: remove irix versioning from TODO list.

26 years ago* ltmain.in (impgen.c): Added a new embedded C file that can be
Gary V. Vaughan [Thu, 18 Feb 1999 14:46:46 +0000 (14:46 +0000)] 
* ltmain.in (impgen.c): Added a new embedded C file that can be
used under win32 to extract a def file (symbol export list) from a
dll that has none.  Code to use it might need to wait for the ILD
merge before it will be useful...

26 years agoplease use the ild-branch
Thomas Tanner [Thu, 18 Feb 1999 11:40:40 +0000 (11:40 +0000)] 
please use the ild-branch

26 years ago* TODO: updated
Thomas Tanner [Thu, 18 Feb 1999 11:38:36 +0000 (11:38 +0000)] 
* TODO: updated
* autogen: only libltdl needs autoheader
* doc/libtool.texi (link mode): documented -export-symbols-regex
  and updated -export-symbols
* doc/libtool.texi (script contents): documented
  always_export_symbols, export_symbols_cmd, exclude_expsyms,
  include_expsyms, dlopen and dlopen_self
  more detailed description of need_lib_prefix
* ltconfig.in: a "'" was missing in the default value
  of export_symbols_cmd
* ltmain.in: implemented -export-symbols-regex

26 years ago* ltconfig.in: (freebsd2*, sunos4*, exclude_expsyms): exclude
Alexandre Oliva [Wed, 17 Feb 1999 13:02:41 +0000 (13:02 +0000)] 
* ltconfig.in: (freebsd2*, sunos4*, exclude_expsyms): exclude
_GLOBAL_OFFSET_TABLE_
* ltmain.in: implement exclude_expsyms with egrep

26 years ago* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope
Alexandre Oliva [Wed, 17 Feb 1999 11:56:27 +0000 (11:56 +0000)] 
* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope
with argument lists, we __P even in the definition

26 years agorenamed foo1.c to foo.c
Thomas Tanner [Mon, 15 Feb 1999 16:48:24 +0000 (16:48 +0000)] 
renamed foo1.c to foo.c

26 years ago* cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB)
Thomas Tanner [Mon, 15 Feb 1999 16:46:55 +0000 (16:46 +0000)] 
* cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB)
* cdemo/foo1.c: renamed to foo.c
* libltdl/ltdl.c: eliminated lt_dltype, in presym_open():
  search for @PROGRAM@ if filename == 0, in lt_dlopen():
  fixed bug for filename == 0
* libltdl/ltdl.h: use __P macro for lt_dlmalloc/free
* libtool.m4: new macro AC_LIBTOOL_DLOPEN: checks for dlopen
  and dlopen(NULL) support
* ltconfig.in: added new variables dlopen and dlopen_self,
  --enable-dlopen[-self] flags for AC_LIBTOOL_DLOPEN
* ltmain.in: use dlopen[_self], dlpreopen files if there's no
  dlopen support, build lt_preloaded_symbols only if
  -dl[pre]open was used, include program symbols if -export-dynamic
  was specified and there's no dlopen(NULL) support
* mdemo/configure.in: use AC_LIBTOOL_DLOPEN
* mdemo/main.c: demonstrate lt_dlopen(0)

26 years ago* demo/dlmain.c (_WIN32): The lt_symlist structure is now const,
Gary V. Vaughan [Mon, 15 Feb 1999 14:23:02 +0000 (14:23 +0000)] 
* demo/dlmain.c (_WIN32): The lt_symlist structure is now const,
so my original horrible temporary win32 hack no longer worked.
Here is a new horrible temporary hack to prevent helldl from SEGVing
on win32.  I will fix this properly when we figure out how to do
data exports from dlls.

26 years ago* libtool.m4 (AC_CHECK_LIBM): do not set MATHLIB or AC_SUBST it,
Alexandre Oliva [Sun, 14 Feb 1999 03:04:51 +0000 (03:04 +0000)] 
* libtool.m4 (AC_CHECK_LIBM): do not set MATHLIB or AC_SUBST it,
this has a negative side-effect of causing automake to add MATHLIB
to every single Makefile.  Let's use plain AC_CHECK_LIB, so that
LIBS get set, until we find a better alternative
* *demo/Makefile.am: remove $(MATHLIB)

26 years ago* libltdl/configure.in: add a DESCRIPTION argument to AC_DEFINEs
Alexandre Oliva [Sat, 13 Feb 1999 19:55:58 +0000 (19:55 +0000)] 
* libltdl/configure.in: add a DESCRIPTION argument to AC_DEFINEs
where appropriate, so as to get rid of acconfig.h
* libltdl/acconfig.h: removed

26 years ago* *demo/Makefile.am: use $(MATHLIB)
Thomas Tanner [Sat, 13 Feb 1999 15:43:04 +0000 (15:43 +0000)] 
* *demo/Makefile.am: use $(MATHLIB)
* *demo/configure.in: use AC_CHECK_LIBM
* doc/libtool.texi: renamed file_magic_command to file_magic_cmd,
  renamed archive_sym_cmds to archive_expsym_cmds
* ltconfig.in: ditto
* ltmain.in: ditto
* libltdl/ltdl.c: use lt_dlmalloc/free
* libltdl/ltdl.h: define lt_dlmalloc/free
* libtool.m4: added AC_CHECK_LIBM macro
* ltconfig.in: renamed archive_sym_cmds to archive_expsym_cmds,
  added always_export_symbols, export_symbols_cmd, exclude_expsyms,
  include_expsyms, removed archive_cmds for cygwin/mingw and AIX,
  on Solaris store the exported symbols list in objdir
* ltmain.in: allow -export-symbols for modules, use thread_safe flag,
  add include_expsyms to the exported symbols

26 years ago* libltdl/ltdl.h (_LTDLL_EXTERN): libltdl is no longer linked as a
Gary V. Vaughan [Fri, 12 Feb 1999 17:35:39 +0000 (17:35 +0000)] 
* libltdl/ltdl.h (_LTDLL_EXTERN): libltdl is no longer linked as a
shared library, so the _declspec's were preventing the linker from
resolving symbols on win32.  They have been removed now.

26 years ago* ltmain.in: don't try to read objdir/libname.la before it is
Alexandre Oliva [Fri, 12 Feb 1999 16:24:15 +0000 (16:24 +0000)] 
* ltmain.in: don't try to read objdir/libname.la before it is
created!

26 years ago* ltmain.in: create libname.lai at link time, not at install time,
Alexandre Oliva [Fri, 12 Feb 1999 13:13:54 +0000 (13:13 +0000)] 
* ltmain.in: create libname.lai at link time, not at install time,
Reported by Akim Demaille <demaille@inf.enst.fr>

26 years ago* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed
Alexandre Oliva [Fri, 12 Feb 1999 12:59:32 +0000 (12:59 +0000)] 
* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed

26 years agoadded automake stamp files
Thomas Tanner [Fri, 12 Feb 1999 12:56:06 +0000 (12:56 +0000)] 
added automake stamp files

26 years agoupdated the ILD patch
Thomas Tanner [Thu, 11 Feb 1999 23:53:07 +0000 (23:53 +0000)] 
updated the ILD patch