Alexandre Oliva [Sat, 6 Mar 1999 19:26:29 +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.
Gary V. Vaughan [Fri, 26 Feb 1999 18:48:07 +0000 (18:48 +0000)]
* ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
sure whether win32 honours the runpath at all when searching for
a dll to load! Anyway, when set to yes this prevents a gratuitous
warning.
Gary V. Vaughan [Fri, 26 Feb 1999 15:47:49 +0000 (15:47 +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.
Thomas Tanner [Thu, 25 Feb 1999 06:53:50 +0000 (06:53 +0000)]
* updated to HEAD
* libtool.m4: added the macros AC_ENABLE/DISABLE_FAST_INSTALL
for optional fast installation
* ltconfig.in: added new flag --enable-fast-install
Thomas Tanner [Sun, 21 Feb 1999 17:39:56 +0000 (17:39 +0000)]
* depdemo: moved each library into a subdirectory
to test hardcoding
* ltconfig.in: added hardcode_into_libs (whether library paths
should be hardcoded into the libraries instead of the program),
shlibpath_overrides_runpath, must_relink
* ltmain.in: renamed link-install mode to relink,
save the command line arguments properly, simplified hardcoding,
use relative/absolute paths where appropriate,
take care of shlibpath_overrides_runpath,
relinking works now (for programs as well as for libraries)
hardcode all (even dependency_libs) library paths into a program,
don't add shlibpath/runpath to compile_command,
thousands of bugfixes...
* inter-library dependencies are now _fully_ functional !
Gary V. Vaughan [Thu, 18 Feb 1999 18:25:59 +0000 (18:25 +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>
* ltconfig.in (old_archive_from_new_cmds): We no longer want to
produce the import library when we link the dll.
(library_names_spec): We no longer list the import library because
it had the same name as a static library.
* 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.
Gary V. Vaughan [Mon, 15 Feb 1999 14:21:10 +0000 (14:21 +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.
Thomas Tanner [Sat, 13 Feb 1999 00:10:37 +0000 (00:10 +0000)]
* syncronized with HEAD
* depdemo/Makefile.am: merged rest of my ILD patch
* ltmain.in: export shlibpath before linking libraries,
create the .lai file in link mode
Gary V. Vaughan [Fri, 12 Feb 1999 18:53:52 +0000 (18:53 +0000)]
* ltmain.in (deplib): The cygwin environment doesn't actually have
-lm, and although the linker fakes having one, specifiying it to
libtool will break ILD, so we ignore it when generating
dependencies.
Gary V. Vaughan [Fri, 12 Feb 1999 17:48:03 +0000 (17:48 +0000)]
* ltmain.in: Applied Thomas Tanner's latest ild.diff. I seem to
be spending all my time merging these diffs rather than adding to
the code =(O|
* depdemo/configure.in: Thomas' latest ILD patch again.
* tests/Makefile.am: And here.
* tests/depdemo-*.test: And here.
Gary V. Vaughan [Fri, 12 Feb 1999 17:39:30 +0000 (17:39 +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.
Gary V. Vaughan [Tue, 9 Feb 1999 17:56:32 +0000 (17:56 +0000)]
* ltmain.in: Applied Thomas Tanner's latest ild.diff. This
clashes with my change from 1999-02-03 below, but what I had was a
bit of a mess, so I also reverted that at the same time.
* configure.in: Thomas' latest ILD patch again.
* depdemo/Makefile.am: And here.
Gary V. Vaughan [Wed, 3 Feb 1999 17:36:02 +0000 (17:36 +0000)]
Merged from HEAD branch:
* configure.in (pkgdatadir): define pkgdatadir explicitly, and
* Makefile.am (aclocaldir): do not set it explicitly, automake
does already
Gary V. Vaughan [Wed, 3 Feb 1999 11:11:03 +0000 (11:11 +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.
Gary V. Vaughan [Tue, 26 Jan 1999 15:42:00 +0000 (15:42 +0000)]
Damn me!!
Looks like I have found a buglet in cvs. For configure.in
we branched at revision 1.12, accidentally removed a line in
revision 1.13 and merged from HEAD to the branch. Quite rightly
the removed line difference is applied to the branch during the
merge and is now missing from there too. Now we put the line
back in the trunk for a new HEAD revision, but when we merge from
HEAD back to the branch for a second time, the line is *still*
missing from the branch. The reason seems to be that cvs merge is
using the common ancestor (1.12) to find differences, and the
offending line is now present in the HEAD revision and the common
ancestor, so no difference there, so no change applied during the
merge onto the branch: net result the missing line is never put back.
Gary V. Vaughan [Tue, 26 Jan 1999 15:09:37 +0000 (15:09 +0000)]
Merged HEAD into ild-branch: mainly for this --
* configure.in: It seems Alexandre accidentally removed the
AC_SUBST(pkgdatadir) line recently which breaks libtoolize.
Reverted that small change.
Gary V. Vaughan [Fri, 22 Jan 1999 14:28:26 +0000 (14:28 +0000)]
* ltmain.in (ild): Redo the Reverted change which allowed libtool
to link libraries with dependencies on .la libs.
* NEWS: ReInsert reference to win32.
* doc/PLATFORMS: ReInsert i686-pc-cygwin32, for the same reason.
* doc/libtool.texi: ReInsert win32 refs, for the same reason.
Gary V. Vaughan [Fri, 22 Jan 1999 13:27:51 +0000 (13:27 +0000)]
* Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword
expansion ate the sed expression! Changed sed separator to '%'
because there are '/' in the date. Added missing '(' to search
expression. Inserted a null string to stop cvs from expanding it
next time =)O|
($(srcdir)/ltmain.sh): ditto.
Alexandre Oliva [Fri, 22 Jan 1999 12:21:05 +0000 (12:21 +0000)]
* Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps
(timestamps, update-timestamps): check whether TSDEPS_DIST are
up-to-date and update ltconfig and ltmain.sh if needed
(ltconfig, ltmain.sh): depend on TSDEPS; replace @TIMESTAMP@ with
the Date tag in the ChangeLog
(TSDEPS): empty unless overridden by update-timestamps
* ltconfig.in, ltmain.in (TIMESTAMP): append timestamp to most
references to VERSION
Gary V. Vaughan [Fri, 22 Jan 1999 12:13:58 +0000 (12:13 +0000)]
* ltmain.in (ild): Revert the change which allowed libtool to
link libraries with dependencies on .la libs.
* NEWS: Removed reference to win32, incase 1.3 ships before
ild is ready.
* doc/PLATFORMS: Removed i686-pc-cygwin32, for the same reason.
* doc/libtool.texi: Removed win32 refs, for the same reason.
Alexandre Oliva [Fri, 22 Jan 1999 10:26:47 +0000 (10:26 +0000)]
* ltmain.in (Xsed): add 1 to Xsed definition that goes into
temporary wrapper scripts
* libtool.m4: we don't have Xsed here, expand it manually
Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltmain.in (finalize_hardcode_libdirs, finalize_rpath): in
platforms that use -rpath, programs must be finalized at
installation time, otherwise build-tree programs will
prefer installed libraries over build-tree ones
Alexandre Oliva [Fri, 22 Jan 1999 09:39:15 +0000 (09:39 +0000)]
* mdemo/Makefile.am (../libltdl/libtool): if it does not exist,
the sub-make for libltdlc.la will take care of it, but we must at
least provide an empty rule for it, otherwise the sub-make will
never run
Alexandre Oliva [Fri, 22 Jan 1999 07:01:25 +0000 (07:01 +0000)]
- add --fast as synonym for -f
- document --msg
- add -q --quiet
- use `cvs -n update' instead of `cvs stat', because stat wouldn't
notice that a conflict had been resolved
- don't leave log_files behind
- don't accept unknown flags before --
- check for common mistakes in ChangeLog entries, and emit warnings
- reject commit message if it does not contain any non-blank line
- add `sleep 1' after running PAGER to give the user some time for a ^C
Gary V. Vaughan [Thu, 21 Jan 1999 17:37:42 +0000 (17:37 +0000)]
* THANKS: Added Chris Laas <golem@MIT.EDU>
From Chris Laas <golem@MIT.EDU>
* ltmain.in (compile): corrected a typo in compile mode which
caused "gcc: unrecognized option -c-fPIC" errors due to a missing
space.
Alexandre Oliva [Thu, 21 Jan 1999 05:08:23 +0000 (05:08 +0000)]
* libltdl/configure.in: reintroduce code to detect native library
extension
* libltdl/ltdl.c (lt_dlopen): if a .la file name is given, that's
all. Otherwise, lt_dlopen now tries to append .la first. If this
fails, it tries the given filename, and, at last, tries to append
the native library extension to the given filename.
* doc/libtool.texi (lt_dlopen): explain new lookup strategy
Alexandre Oliva [Thu, 21 Jan 1999 04:09:39 +0000 (04:09 +0000)]
* demo/configure.in: set DLPREOPEN to -dlopen if we don't have
shared libraries
* demo/Makefile.am (DLPREOPEN): use instead of -dlpreopen
(STATIC): use $(STATIC), not @STATIC@
* mdemo/Makefile.am (STATIC): ditto
* demo/Makefile.am, mdemo/Makefile.am (STATIC): do not use
Alexandre Oliva [Thu, 21 Jan 1999 03:50:07 +0000 (03:50 +0000)]
* tests/demo-shared.test, tests/demo-static.test: new tests
* tests/mdemo-shared.test, tests/mdemo-static.test: ditto
* tests/Makefile.am: ditto
* doc/libtool.texi: document them
* demo/Makefile.am, mdemo/Makefile.am (@STATIC@): do not use
-static unconditionally, it can't work with --disable-static
* demo/configure.in, mdemo/configure.in: check whether libtool was
configured to build static libraries and, if not, set STATIC to an
empty string
Alexandre Oliva [Thu, 21 Jan 1999 03:32:53 +0000 (03:32 +0000)]
* ltmain.in (module, droppeddeps): if libtool could not satisfy
all dependencies of a module, it will only build a static version
of it, and display a warning message
Erez Zadok [Wed, 20 Jan 1999 21:02:01 +0000 (21:02 +0000)]
major reformatting
support -l
stat only files to be committed
run ${PAGER-more} to view and possibly modify the commit message
remove $log_file if interrupted
Alexandre Oliva [Wed, 20 Jan 1999 20:24:54 +0000 (20:24 +0000)]
* ltmain.in (file_magic): follow soft-links before running `file'
on the candidate library; try to avoid entering endless loop
Suggested by Nix <nix@esperi.demon.co.uk>
Alexandre Oliva [Wed, 20 Jan 1999 17:47:48 +0000 (17:47 +0000)]
* ltconfig.in (sunos4*, without_gnu_ld, with_gcc, archive_cmds):
add -fPIC, because libgcc is multilibbed, and we want the PIC
version of it for shared libraries, otherwise ld complains
Alexandre Oliva [Wed, 20 Jan 1999 13:08:50 +0000 (13:08 +0000)]
* libltdl/ltdl.c (find_module): remove the libdir argument, and
try to open library only as old_name and dir/dlname
(lt_dlopen): use `installed' variable in .la file to decide
whether to use libdir or objdir
Alexandre Oliva [Wed, 20 Jan 1999 12:44:50 +0000 (12:44 +0000)]
* ltmain.in (compile): when compiling both PIC and non-PIC, write
the PIC object to .libs/.lo and only rename it to .lo after
compiling the .o, to avoid fooling make dependencies
Alexandre Oliva [Wed, 20 Jan 1999 10:07:04 +0000 (10:07 +0000)]
* ltconfig.in (bsdi4*, netbsd*, uts4*, library_names_spec,
soname_spec): removed duplicate dot before $major
Reported by Steven M. Schultz <sms@wlv.iipo.gtegsc.com> (bsdi4*)
Alexandre Oliva [Wed, 20 Jan 1999 09:06:46 +0000 (09:06 +0000)]
* libltdl/configure.in (libltdl_cv_preloaded_symbols,
HAVE_PRELOADED_SYMBOLS): test whether we support -dl*open
* libltdl/ltdl.c (!HAVE_PRELOADED_SYMBOLS, lt_preloaded_symbols):
define it to an empty list if libtool won't generate it, so as to
avoid link errors. This will cause silent dlopening failures, but
maybe this is better than failing to link the program...
Alexandre Oliva [Mon, 18 Jan 1999 13:30:43 +0000 (13:30 +0000)]
* libtool.m4 (LIBTOOL_DEPS): set it
* libltdl/configure.in (LIBTOOL_DEPS): AC_SUBST it
* libltdl/Makefile.am (libtool): use it
* doc/libtool.texi (AM_PROG_LIBTOOL): document it
Alexandre Oliva [Mon, 18 Jan 1999 13:16:55 +0000 (13:16 +0000)]
* Makefile.am (libltdl.tar.gz): don't create it as part of the
build, since it is likely to become stale if we do
(install-data-hook): create and install libltdl.tar.gz, without
depending on GNU tar
Reported by Manfred Weichel <Manfred.Weichel@pdb.siemens.de>
Alexandre Oliva [Sun, 17 Jan 1999 09:18:54 +0000 (09:18 +0000)]
* ltconfig.in (wlarc): set to either '${wl}' or an empty string,
depending on whether archive_cmds runs CC or LD
(gnu_ld=yes, whole_archive_flag_spec): "$wlarc" instead of '${wl}'
Alexandre Oliva [Sun, 17 Jan 1999 05:47:10 +0000 (05:47 +0000)]
* mdemo/Makefile.am (../libltdl/libltdlc.la): depend on
../libtool, because ../libltdl/libtool depends on it
(mdemo_debug_*): copy from mdemo_*, adding -static to LDFLAGS