Commit Graph

947 Commits

Author SHA1 Message Date
Olly Betts
61238c4f04 * ltconfig.in (opt_cr): Handle crlf sequences output by the
mingw toolchain.
1999-10-28 20:28:11 +00:00
Olly Betts
524e55494a * libtool.m4: Third time lucky, with Tor's patch. 1999-10-28 20:18:15 +00:00
Tor Lillqvist
861e305993 * libtool.m4: these was a missing `*' in the -mno-cygwin
match.
* ltconfig.in (cygwin, ltdll_obj): fixed a quoting error.
(export_symbols_cmds): added missing cosmetic newline.
1999-10-20 18:30:08 +00:00
Tor Lillqvist
1d0dc16aaf * libtool.m4: test command used == which should be =.
Support -mno-cygwin flag for building mingw32 dlls.
* ltconfig.in (file_magic_cmd): add missing quotes.
(deplibs_check_method): and here.
1999-10-18 20:03:57 +00:00
Alexandre Oliva
fb682e5b83 * libltdl/ltdl.c (lt_dlopen): Do not search paths when the
specified library is not just a basename.
1999-10-16 07:05:39 +00:00
Gary V. Vaughan
777c2b07c7 * libtool.m4 (AC_PATH_FILE): new macro replaces
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PATH_TOOL_PREFIX): new macro replaces
AC_PATH_PROG_GREP_OUTPUT.
(AC_LD_RELOAD_FLAG):  migrated from ltconfig.in.
(AC_DEPLIBS_CHECK_METHOD): ditto.
* ltconfig.in (reload_flag): moved to libtool.m4.
(deplbs_check_method): ditto.
1999-10-10 00:47:55 +00:00
Gary V. Vaughan
692d6c3975 * libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the
more general AC_PATH_PROG_GREP_OUTPUT.
(AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general
AC_PATH_TOOL_GREP_OUTPUT.
(AC_PROG_LIBTOOL):  Search for a working find program in the
user's PATH using the new macros.
1999-10-07 15:40:07 +00:00
Gary V. Vaughan
8bddb60764 * NEWS: updtaed. 1999-10-06 22:13:17 +00:00
Gary V. Vaughan
13fef72767 * ltmain.in (-no-install): This doesn't work on win32 since
the search path for libraries is not encoded in the binary,
and dlls not in $PATH won't be found.  Fall back to -no-fast-install
instead.
1999-10-04 14:44:15 +00:00
Gary V. Vaughan
cd8ed8796b * ltmain.in (-no-fast-install): Wrapper script used to add the
exeext on again when naming the wrapped executable.
1999-10-04 14:26:11 +00:00
Gary V. Vaughan
3ad30f497c * ltconfig.in: Set $FILE to @FILE@ for substitution with
the value found in libtool.m4 at configure time.
* libtool.m4 (AC_PATH_TOOL_GREP_VERSION):  New macro, combines
AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
output of $ac_dir/${ac_prefix}<tool> --version for a
given regex.
(AC_PATH_PROG_GREP_VERSION):  New macro used by the above.
(AC_LIBTOOL_SETUP): Use the new macros to search the PATH
[starting at /usr/bin] for a file program which accepts
--version and has "file" in its --version output.
1999-10-03 20:41:21 +00:00
Thomas Tanner
ef128a41ba * NEWS: new -no-install flag
* configure.in: fix typo
* doc/libtool.texi(Link mode): document -no-install flag,
  correct -no-fast-install docs
* libtool.m4: check for "file" command
* ltconfig.in: don't hardcode /usr/bin/file, remove second
  definition of sysv5, replace linkopts -> linker_flags
* ltmain.in: add new -no-install flag, print help for -no-install
  and -no-fast-install flags


* ltmain.in: always create output_objdir


* libltdl/Makefile.am: don't preserve file attributes when
  installing the libltdl sources
1999-10-03 16:36:32 +00:00
Gary V. Vaughan
536476a058 * configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh
* Makefile.am (ltmain.sh ltconfig): removed.  Automake inserts the
rules to automatically call config.status.
1999-10-01 23:12:15 +00:00
Gary V. Vaughan
52a93a8718 * libtool.m4: be sure to AC_SUBST values no longer tested in
ltconfig.in.
* ltconfig.in: replaced several of the simple feature tests with
substitutions from config.status.
* Makefile.am (ltconfig): generate ltconfig with config.status.
* configure.in (AC_OUTPUT): generate ltconfig with config.status.
1999-10-01 16:07:39 +00:00
Donald Anderson
db8bca3f36 * ltconfig.in (sco3.2v5): use pass_all deplibs_check_method
for SCO3.2.
1999-09-30 00:26:51 +00:00
Gary V. Vaughan
bf8d855c13 * ltconfig.in (whole-archive-flag-spec): I had been
wondering why my file system was filling up with empty
files named `71'... seems I forgot to hold in the
shift key when redirecting stderr, 2>&1.  Doh!
1999-09-29 23:15:35 +00:00
Vadim
292ca1ce64 * ltconfig.in (sysv): More UW7 support. 1999-09-29 23:08:26 +00:00
Albert Cheng
58e469c927 * ltmain.in (shlibpath_var): ensure the variable is non-empty before
exporting it.
1999-09-28 08:30:34 +00:00
Manfred Weichel
90d774b4fc * ltconfig.in (sysv5): Added support required for shared
library linking on SCO UW7.
1999-09-27 20:22:28 +00:00
Gary V. Vaughan
6be47e4453 * ltconfig.in (whole-archive-flag-spec): test whether the
version of GNU ld being used understands --whole-archive
before using it.
1999-09-22 00:14:08 +00:00
Thomas Tanner
f8d63238ac * ltmain.in: don't ignore convenience libraries for objects/archives
(temporary hack)
1999-09-19 21:02:26 +00:00
Alexandre Oliva
dc8f52a75b * ltconfig.in (CDPATH): Set to `:' instead of empty.
* ltmain.in (CDPATH): Likewise.
Reported by Greg McGary <gkm@eng.ascend.com>
1999-09-14 23:30:47 +00:00
Gary V. Vaughan
ab19cce620 * ltconfig.in (ltdll.c, impgen.c): Prevent the shell from
expanding variables & backslash escapes when writing these
files to the libtool script.
1999-08-24 15:50:48 +00:00
Thomas Tanner
7cc892b2c9 * NEWS: mention fixes
* doc/PLATFORMS: GNU/Hurd update
* depdemo: make use of variables
* ltconfig.in: use CC -E when checking for ELF support
  on NetBSD (reported by Todd Vierling <tv@pobox.com>),
  replace all occurences of 'linkopts' with 'linker_flags'
* ltmain.in: move ltdll.c and impgen.c to ltconfig.in and
  only add them to the libtool script if it's necessary


* ltconfig.in: add support for UnixWare 7.X.X
* doc/PLATFORMS: add new platforms


* doc/libtool.texi: document use of noinst_LTLIBRARIES for
  convenience libraries

* ltconfig.in: check for freebsdelf3, not just freebsd3.
Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1

* ltmain.in: enable workaround for freebsdelf3.0


* ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS
1999-08-24 11:05:14 +00:00
Alexandre Oliva
f5480b5c13 * libltdl/COPYING.LIB: Update to version 2.1.
* libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.
1999-08-07 07:40:18 +00:00
Gary V. Vaughan
d05c36e4e9 * libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
stripping.
* ltconfig.in: ditto.
From Olly Betts <olly@muscat.co.uk>
1999-08-03 11:44:17 +00:00
Olly Betts
a63cecfad3 * doc/libtool.texi (Compile mode): typo correction.
(Link mode): and another.
(Release numbers):  and another.
(Distributing libltdl): and another.
(Test descriptions): and another.
(libtool script contents): and one more.
1999-08-02 22:40:36 +00:00
Olly Betts
93a647af43 * libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.
1999-08-02 22:24:34 +00:00
Pavel Roskin
6558f517f5 Added pending patches file to mail subdir 1999-07-29 23:40:57 +00:00
Pavel Roskin
320240e999 * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
1999-07-29 23:28:06 +00:00
Mumit Khan
48dc53d227 * ltconfig.in: Read line at a time to avoid tokenisation by
shell.
1999-07-29 22:58:41 +00:00
Alexandre Oliva
b0dad73a36 * ltmain.in: Fix creation of relative links to object files in
sub-dirs.
1999-07-29 19:33:55 +00:00
Olly Betts
136171cb82 * ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
and link ltdll.c if the libtool.m4 macros discovered that it is
required.
1999-07-29 16:31:24 +00:00
Olly Betts
ee8b053174 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
typos made by Evil Gary while (mis)applying my patch :-).
1999-07-26 15:16:10 +00:00
Olly Betts
fa156a1cad * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second
thoughts, only probe for -mdll vs -dll on mingw, and revert to
the old `-Wl,--dll -nostartfiles' on cygwin.
1999-07-26 12:45:03 +00:00
Erez Zadok
179131c63c * doc/PLATFORMS (i*86-*openbsd2.5): New platform.
Slight reordering of other bsd entries.
1999-07-23 22:43:14 +00:00
Olly Betts
d4a41297aa * NEWS: Note new user visible changes.
* libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll
under cygwin/mingw.
probe whether the cygwin/mingw library supplies a stub DllMain
(but this information isn't yet used).
* ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set,
use that to build impgen so we can use it when cross-compiling.
use correct entry points for mingw so static C++ constructors get
called for code in the DLL.
* ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the
system headers.
1999-07-23 16:09:49 +00:00
Bert Driehuis
8b7acbe516 * ltconfig.in: Updated bsdi4 soname specs to be more like
linux as discussed on the bsdi mailing list.
1999-07-23 00:48:04 +00:00
Gary V. Vaughan
2cc31a3e28 * configure.in (AC_PROG_RANLIB): No longer required as we now use
AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
* libtool.m4 (AC_PROG_LIBTOOL):  Pass the $build variable to
ltconfig.
(AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
* ltconfig.in (build): new variable to hold the build triplet
which is now checked for unless --no-verify is specified.
(--build): new argument to set the build triplet.
(ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
to $host.
* doc/libtool.texi (Invoking ltconfig): Document --build option.
* NEWS: Note --build option.
1999-07-20 09:29:31 +00:00
Erez Zadok
067961bd2f * doc/PLATFORMS: Updated mostly *bsd platforms. 1999-07-19 22:34:21 +00:00
Alexandre Oliva
10ca174015 * doc/libtool.texi (Porting inter-library dependencies): Typos
Reported by Petter Reinholdtsen <pere@hungry.com>
1999-07-19 11:44:01 +00:00
Thomas Tanner
cbc1402596 * NEWS, TODO: updated (pic flags)
* libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag
* ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags,
  fixed the strip check (reported by Keith Bostic <bostic@bostic.com>)
* ltmain.in (compile mode): build only PIC/non-PIC code depending
  on pic_mode
* libltdl/README: document the supported dlopen interfaces
* doc/libtool.texi (tests): documented new tests
* tests/Makefile.am: added new tests
* tests/demo-pic.test: new test to test --with-pic
* tests/demo-nopic.test: new test to test --without-pic
* tests/build-relink2.test: variant of build-relink.test that
  uses depdemo
1999-07-17 09:00:53 +00:00
Olly Betts
910e10d745 * doc/libtool.texi (C++ Libraries): fixed a typo. 1999-07-09 14:08:08 +00:00
Gary V. Vaughan
aecf70c395 * README-alpha: improved the release instructions to mention
actual list addresses for announcements, and urls for upload
locations.
1999-07-06 15:27:19 +00:00
Thomas Tanner
6870393fea * doc/PLATFORMS: 1.3b passes all tests on cygwin
* ltconfig.in: finish_cmds for FreeBSD removed
* depdemo/l3/Makefile.am: install libl3.la into an extra directory
1999-07-02 23:19:20 +00:00
Gary V. Vaughan
cc5d6d41da * configure.in: bumped version to 1.3c. 1999-07-02 17:54:53 +00:00
Gary V. Vaughan
d71b404f18 GNU libtool 1.3b was released.
* NEWS: inserted todays date.
1999-07-02 15:16:39 +00:00
Alexandre Oliva
b2822fd81f * doc/PLATFORMS: Tested on as many platforms as possible for me. 1999-07-02 12:01:08 +00:00
Thomas Tanner
3f8de2c2fc * NEWS: updated
* doc/PLATFORMS: updated
* changed my email address
1999-07-01 14:48:06 +00:00
Thomas Tanner
17e3fe3947 * demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl)
* tests/build-relink.test: also check for hardcode_into_libs = yes,
  if set, we need to relink at install-time
1999-06-30 12:50:59 +00:00