540 Commits

Author SHA1 Message Date
Gary V. Vaughan
223aa896c7 * ltconfig.in (cygwin, library_names_spec): removed $libname.a.
Creating a dll with libtool no longer creates an import library.
1999-03-18 12:34:13 +00:00
Gary V. Vaughan
9b51a17e29 * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
not exist -- i.e. we need to generate import an import library
in a directory which has no libs of its own.
1999-03-17 14:52:38 +00:00
Thomas Tanner
c966fc79f4 * updated
* ltmain.in: fixed hardcoding for libraries
1999-03-16 15:55:28 +00:00
Thomas Tanner
27d86283a4 added new tests 1999-03-13 17:47:55 +00:00
Thomas Tanner
8ab5a3e59b * updated
* NEWS: next version is 1.3pre
* ltconfig.in: removed "must_relink" flag
* ltmain.in: implemented fast-install mode, fixed many bugs
1999-03-13 17:46:25 +00:00
Gary V. Vaughan
dc0ae58442 * ltmain.in: fixed a bug that causes archive link to fail when
allow_undefined=yes (currently the default).
1999-03-09 16:56:51 +00:00
Gary V. Vaughan
3b85610a14 * doc/libtool.texi: added missing "@end defvar" statements. 1999-03-09 13:05:33 +00:00
Gary V. Vaughan
e05b767f1a * NEWS: merged from trunk and updated. 1999-03-09 12:40:20 +00:00
Gary V. Vaughan
06c3c3fd46 * TODO: removed .a library namespace clash for win32. It is
now resolved.
1999-03-08 17:23:47 +00:00
Gary V. Vaughan
042a0fda6c * doc/libtool.texi (old_archive_from_expsyms_cmds,
extract_expsyms_cmds): documented these new variables.
1999-03-08 12:20:09 +00:00
Alexandre Oliva
2b09b5066e * ltconfig.in (extract_expsyms_cmds): New variable. Commands to
extract the exported symbol list from a dll.
(old_archive_from_expsyms_cmds): New variable.  Commands to build
an old archive from the extracted expsyms list.
* ltmain.in: run the cmds in extract_expsyms_cmds and
old_archive_from_expsyms_cmds as necessary.
1999-03-08 11:55:13 +00:00
Alexandre Oliva
dfbdc30faa typo 1999-03-07 22:02:57 +00:00
Alexandre Oliva
f6cd1529ac * 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>
1999-03-06 20:25:04 +00:00
Alexandre Oliva
dfd78f15c9 * ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld):
$lib.exp already starts with $objdir/
Reported by Godmar Back <gback@cs.utah.edu>
1999-03-06 19:41:30 +00:00
Alexandre Oliva
a2b6d87460 * 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.
1999-03-06 19:26:29 +00:00
Thomas Tanner
87825053d5 fixed problem reported by Gary V. 1999-02-26 21:37:10 +00:00
Gary V. Vaughan
e8b1c1342f * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
required.
(library_names_spec): removed $libname.a.
1999-02-26 19:10:34 +00:00
Gary V. Vaughan
0f7d8589f8 * 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.
1999-02-26 18:48:07 +00:00
Gary V. Vaughan
6ea1a1496c * depdemo/l4/Makefile.am (LIBADD_M): removed. ILD takes care of
this for us.
1999-02-26 17:33:46 +00:00
Gary V. Vaughan
8b340a5a7d * libtool.m4 (cygwin): s/\(mingw\|cygwin\)32/\1/g. Must've
missed this file when I changed to cygnus' new sanction name.
1999-02-26 16:08:42 +00:00
Gary V. Vaughan
86779ddd73 * 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.
1999-02-26 15:47:49 +00:00
Thomas Tanner
9e85e1b16e * 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
1999-02-25 06:53:50 +00:00
Thomas Tanner
97c2dceadf moved each library to a subdirectory 1999-02-21 17:46:05 +00:00
Thomas Tanner
26c8947b8d * 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 !
1999-02-21 17:39:56 +00:00
Gary V. Vaughan
a42fa4ca11 missed of the --export-all from the first dlltool call 1999-02-18 19:02:02 +00:00
Gary V. Vaughan
61a569fc5e * 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.
1999-02-18 18:25:59 +00:00
Gary V. Vaughan
b25378c96d * 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.
1999-02-15 14:21:10 +00:00
Thomas Tanner
1f8cf75537 added acconfig.h 1999-02-13 00:11:44 +00:00
Thomas Tanner
b1dd35bb1a * 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
1999-02-13 00:10:37 +00:00
Gary V. Vaughan
c61b75ee1e * 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.
1999-02-12 18:53:52 +00:00
Gary V. Vaughan
125219f71f * 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.
1999-02-12 17:48:03 +00:00
Gary V. Vaughan
e300f5df12 * 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.
1999-02-12 17:39:30 +00:00
Gary V. Vaughan
217e1ee780 * 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.
1999-02-09 17:56:32 +00:00
Gary V. Vaughan
880771f896 ild.diff no longer required, it is merged into this branch 1999-02-09 17:54:18 +00:00
Gary V. Vaughan
d7355f9ba6 * ltmain.in (--mode=link): reinstate linking against ltlibraries. 1999-02-03 17:43:04 +00:00
Gary V. Vaughan
3ec5210387 Merged from HEAD branch:
* configure.in (pkgdatadir): define pkgdatadir explicitly, and
* Makefile.am (aclocaldir): do not set it explicitly, automake
does already
1999-02-03 17:36:02 +00:00
Gary V. Vaughan
4094b9622f * 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.
1999-02-03 11:11:03 +00:00
Gary V. Vaughan
87d1ce7865 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.

I put it back by hand with this commit.  Grrrr.
1999-01-26 15:42:00 +00:00
Gary V. Vaughan
075f208bf7 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.
1999-01-26 15:09:37 +00:00
Alexandre Oliva
90f1e8e7b1 merged from HEAD to idl-branch 1999-01-22 18:33:45 +00:00
Gary V. Vaughan
6a86035202 * ltmain.in: Merged Thomas' ild-patch. Untested.
* configure.in: ditto.
* demo/Makefile.am: ditto.
* depdemo/Makefile.am: ditto.
1999-01-22 17:25:18 +00:00
Gary V. Vaughan
9ebf066e13 * 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.
1999-01-22 14:28:26 +00:00
Gary V. Vaughan
5bd624040c * configure.in (date): echo the version number during
configuration, and show $date for cvs versions.
ild-branchpoint
1999-01-22 14:09:12 +00:00
Gary V. Vaughan
675c928466 * 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.
1999-01-22 13:27:51 +00:00
Alexandre Oliva
3b6142f95e * 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
1999-01-22 12:21:05 +00:00
Gary V. Vaughan
b69cf9e6cd * 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.
1999-01-22 12:13:58 +00:00
Alexandre Oliva
4f58a28c53 * 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>
1999-01-22 10:26:47 +00:00
Edouard G. Parmelan
bcdffabfe9 * 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
1999-01-22 10:01:10 +00:00
Alexandre Oliva
275e35f2f0 fix commit message extraction and some bogus warnings 1999-01-22 09:48:53 +00:00
Alexandre Oliva
f212b8d7df * 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
1999-01-22 09:39:15 +00:00