]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
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

26 years agoadded acconfig.h
Thomas Tanner [Thu, 11 Feb 1999 23:50:17 +0000 (23:50 +0000)] 
added acconfig.h

26 years ago* autogen: libltdl needs autoheader
Thomas Tanner [Thu, 11 Feb 1999 23:48:25 +0000 (23:48 +0000)] 
* autogen: libltdl needs autoheader
* demo/Makefile.am: renamed hell.debug to hell.static
  (we're demonstrating static linking, not debugging)
* tests/demo*: ditto
* doc/libtool.texi (libltdl): documented new lt_dlopen(NULL)
  feature
* libltdl/acconfig.h: required for config.h
* libltdl/configure.in: use config.h
* libltdl/ltdl.c: use config.h, support lt_dlopen(NULL)
  (returns a handle for the program itself)
* ltconfig.in: minor reformatting
* ltmain.in: in lt_preloaded_symbols always define
  the program's symbols first, for -export-dynamic list all
  program symbols together, -export-symbols was broken for
  programs, minor reformatting
* mdemo/Makefile.am: renamed mdemo.debug to mdemo.static
* tests/mdemo*: ditto, mdemo.test was completely broken

26 years ago* ltconfig.in (irix5*, irix6*, osf3*, osf4*): do not use
Alexandre Oliva [Wed, 10 Feb 1999 16:27:52 +0000 (16:27 +0000)] 
* ltconfig.in (irix5*, irix6*, osf3*, osf4*): do not use
-set_version in archive_cmds if verstring is empty
(irix6*, shlibpath_var, sys_lib_search_path-spec,
deplibs_check_method): set appropriate values depending on
selected ABI, -32, -n32 or -64, as set in LD by libtool.m4
(uts4*): remove dot between .so and versuffix

26 years ago* ltconfig.in (irix5*, irix6*, deplibs_check_method): use
Alexandre Oliva [Mon, 8 Feb 1999 22:01:31 +0000 (22:01 +0000)] 
* ltconfig.in (irix5*, irix6*, deplibs_check_method): use
file_magic for inter-library dependency tracking

26 years ago* ltconfig.in (irix5*, hardcode_libdir_separator): set it to a
Alexandre Oliva [Mon, 8 Feb 1999 21:33:17 +0000 (21:33 +0000)] 
* ltconfig.in (irix5*, hardcode_libdir_separator): set it to a
colon, because on IRIX 5 only the last -rpath switch prevails, and
it can be a list of colon-separated directories.  This change will
affect irix6 too, but that's not a problem.

26 years ago*** empty log message ***
Alexandre Oliva [Mon, 8 Feb 1999 10:53:45 +0000 (10:53 +0000)] 
*** empty log message ***

26 years ago* ltconfig.in (irix5*, library_names_spec): add soname_spec,
Alexandre Oliva [Mon, 8 Feb 1999 09:33:38 +0000 (09:33 +0000)] 
* ltconfig.in (irix5*, library_names_spec): add soname_spec,
otherwise we can't dlopen

26 years ago* ltconfig.in: according to Marcus Sundberg <mackan@stacken.kth.se>
Thomas Tanner [Mon, 8 Feb 1999 00:10:28 +0000 (00:10 +0000)] 
* ltconfig.in: according to Marcus Sundberg <mackan@stacken.kth.se>
  HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support
  need_version=no and need_lib_prefix=no,
  fixed a bug in Solaris' archive_sym_cmds

26 years ago* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
Alexandre Oliva [Thu, 4 Feb 1999 15:09:14 +0000 (15:09 +0000)] 
* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in
addition to space as separator, and allow more than one space
between the symbol code and the symbol name; HP/UX's nm, for
example, uses two spaces
* ltconfig.in (global_symbol_pipe): ditto
(bsdi4, deplibs_check_method): variable name was misspelled
* libltdl/configure.in (libltdl_cv_preloaded_symbols): rewrite
test, so as not to depend on the way global_symbol_pipe is
initialized; the current test would get false positives, as
global_symbol_pipe was initialized `x=""', not `x='

26 years ago* libltdl/ltdl.c (find_module): initialize filename if dir is NULL
Alexandre Oliva [Thu, 4 Feb 1999 12:39:24 +0000 (12:39 +0000)] 
* libltdl/ltdl.c (find_module): initialize filename if dir is NULL
Reported by Godmar Back <gback@cs.utah.edu>

1999-02-04  Godmar Back  <gback@cs.utah.edu>

* libltdl/ltdl.c (lt_dlopenext): missing space for terminator when
allocating memory for shlib_ext

26 years ago* ltconfig.in: new config.guess returns *-*-cygwin now instead of
Alexandre Oliva [Wed, 3 Feb 1999 11:34:52 +0000 (11:34 +0000)] 
* ltconfig.in: new config.guess returns *-*-cygwin now instead of
*-*-cygwin32.  sed -e 's%(cygwin|mingw)32%1%g' ltconfig.in
* ltmain.in:   sed -e 's%(cygwin|mingw)32%1%g' ltmain.in

* ltconfig.in (hardcode_libdir_flag_spec, allow_undefined_flag,
archive_cmds, archive_sym_cmds, old_archive_from_new_cmds):
removed duplication of config by assuming that `test $with_gcc =
yes' implies gnu ld, otherwise MSVC++ (which I haven't tested
since I inheritted the code from Ian Lance Taylor btw!) is implied.

26 years ago* ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext was
Alexandre Oliva [Wed, 3 Feb 1999 07:55:40 +0000 (07:55 +0000)] 
* ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext was
longer than 3 characters

26 years ago* ltmain.in: Reverted this change of Alexandre's from the
Gary V. Vaughan [Thu, 28 Jan 1999 13:33:33 +0000 (13:33 +0000)] 
* ltmain.in: Reverted this change of Alexandre's from the
1999-01-25; "don't try to use .o instead of .lo just because
there's no PIC flag.  It loses if --disable-static, and there's
not much point if we're referring to the same file anyway...",
because not all linkers will accept .lo object names.
* ltmain.in: In the case where --disable-static is specified (as
noted in Alexandre's log entry), we just link some .o files to
prevent the original error.
Reported by Andrey Slepuhin <pooh@msu.ru>

26 years ago* libtoolize.in: search for A[MC]_PROG_LIBTOOL, not
Alexandre Oliva [Wed, 27 Jan 1999 19:38:13 +0000 (19:38 +0000)] 
* libtoolize.in: search for A[MC]_PROG_LIBTOOL, not
AM_PROG_LIBTOOL
Reported by Jeff Garzik <jgarzik@pobox.com>

26 years agoadd *** to warning messages
Alexandre Oliva [Wed, 27 Jan 1999 14:50:02 +0000 (14:50 +0000)] 
add *** to warning messages

26 years ago* THANKS: Now that we have a policy, applied it to the existing
Gary V. Vaughan [Wed, 27 Jan 1999 13:41:08 +0000 (13:41 +0000)] 
* THANKS: Now that we have a policy, applied it to the existing
list.  This in no way demeans the work of those people removed
from the THANKS file, who are still credited in the ChangeLogs and
without who's work, libtool would not work so well on many
platforms, but serves to highlight the outstanding and continued
contribution the remaining people have made.  And I quote, "We
reserve THANKS for people who have made major contributions, and
leave the credit to the others for the ChangeLog only."

26 years ago* THANKS: added Sam Vilain.
Gary V. Vaughan [Wed, 27 Jan 1999 11:51:08 +0000 (11:51 +0000)] 
* THANKS: added Sam Vilain.

26 years ago* ltconfig.in ($echo): When using printf to replace echo the shell
Gary V. Vaughan [Wed, 27 Jan 1999 11:14:35 +0000 (11:14 +0000)] 
* ltconfig.in ($echo):  When using printf to replace echo the shell
expands %sn to %sn.  Changed to use "%sn" (with quotes).
Reported by Sam Vilain <sam.vilain@nz.unisys.com>

26 years ago* libltdl/ltdl.c (find_file): fix endless loop condition
Alexandre Oliva [Wed, 27 Jan 1999 07:41:15 +0000 (07:41 +0000)] 
* libltdl/ltdl.c (find_file): fix endless loop condition
(find_module): filename allocation was off by 1

26 years ago* libltdl/Makefile.am (distclean-local): renamed from
Alexandre Oliva [Wed, 27 Jan 1999 07:22:04 +0000 (07:22 +0000)] 
* libltdl/Makefile.am (distclean-local): renamed from
distclean-hook, that didn't work

26 years ago* libltdl/ltdl.c (lt_dlopen, non-.la): find_file now returns 0 on
Alexandre Oliva [Wed, 27 Jan 1999 06:55:40 +0000 (06:55 +0000)] 
* libltdl/ltdl.c (lt_dlopen, non-.la): find_file now returns 0 on
failure

26 years ago* Makefile.am (ltconfig, ltmain.sh): some broken makes don't like
Alexandre Oliva [Wed, 27 Jan 1999 06:23:47 +0000 (06:23 +0000)] 
* Makefile.am (ltconfig, ltmain.sh): some broken makes don't like
macros in targets; replace $(srcdir) with @srcdir@
* configure.in (ACINCLUDE_M4_LIST): same problem; expand $srcdir

26 years agorun cvs update with -q
Alexandre Oliva [Wed, 27 Jan 1999 06:18:38 +0000 (06:18 +0000)] 
run cvs update with -q

26 years ago* libltdl/Makefile.am (@TOINST@/libltdl.la): if installation is
Alexandre Oliva [Wed, 27 Jan 1999 06:15:21 +0000 (06:15 +0000)] 
* libltdl/Makefile.am (@TOINST@/libltdl.la): if installation is
enabled, create to-be-installed libltdl.la within @TOINST@
directory
(noinst_LTLIBRARIES): even if installation is enabled, build
convenience libltdl.la, otherwise builds of random packages may
fail if the user happens to enable installation
(distclean-hook): wipe out $(TOINST)
* libltdl/configure.in: set TOINST and LIBLIBS as appropriate;
don't set NOINSTLIBS any more
* mdemo/Makefile.am: use libltdl.la