Commit Graph

105 Commits

Author SHA1 Message Date
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
Gary V. Vaughan
7badfd3dcf * 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.
1999-01-21 17:37:42 +00:00
Alexandre Oliva
f038450910 * 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
1999-01-21 03:32:53 +00:00
Erez Zadok
7821def39b * ltmain.in: s/n\'t/ not/
* doc/PLATFORMS: updates for sunos4/m68k and aix
1999-01-20 20:45:50 +00:00
Alexandre Oliva
951fc9f244 * 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>
1999-01-20 20:24:54 +00:00
Alexandre Oliva
a58e998b44 * ltconfig.in (linux*, solaris*, bsdi4*, sys_lib_search_path):
remove expansion of $LD_LIBRARY_PATH
	* ltmain.in (lib_search_path): append the expansion of $shlibpath_var
	* doc/libtool.texi: document it
1999-01-20 19:48:44 +00:00
Alexandre Oliva
19ddb9d9b2 * ltmain.in (dlsyms): #define const to nothing if not __STDC__ 1999-01-20 18:15:19 +00:00
Alexandre Oliva
ee93981385 * 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
1999-01-20 12:44:50 +00:00
Alexandre Oliva
f11c3e83c5 * ltmain.in (dlpredeps): removed, reverting 1999-01-17's change 1999-01-20 08:39:52 +00:00
Alexandre Oliva
a4191f6ab5 * ltmain.in (lt_preloaded_setup): function added to symbol list
source file to work around FreeBSD problem
1999-01-19 23:52:19 +00:00
Gary V. Vaughan
4e2bd756eb reapply andreys patch correctly. 1999-01-19 14:58:29 +00:00
Gary V. Vaughan
e66dd53d15 track deplibs for hardcode_action switch 1999-01-19 14:04:16 +00:00
Thomas Tanner
6b7c38b36c *** empty log message *** 1999-01-17 11:19:40 +00:00
Alexandre Oliva
77d2b6319c * ltmain.in (dlpredeps): append dependencies from dlopened modules
(but not dlpreopened ones) after all explicitly linked libraries
1999-01-17 05:44:56 +00:00
Alexandre Oliva
458a451208 * ltconfig.in (need_lib_prefix, need_version,
deplibs_check_method): default to unknown, so that we're
 	remembered that this needs porting; unknown is interpreted as yes,
 	yes and none, respectively
	(freebsd2*, freebsd3*, sunos4*, need_version): set to yes
	(freebsd2*, freebsd3*, library_names_spec): libraries without a
	version number are not used by `ld'; add $versuffix;
	Reported by Ben Jackson <ben@ben.com>
	* ltmain.in (deplibs_check_method): alias unknown to none
	(need_version): if vinfo was not provided and release info was,
	zero out versuffix only if we don't need_version.
	* doc/libtool.texi: document what `unknown' means
1999-01-17 04:21:52 +00:00
Thomas Tanner
94cfa949e2 *** empty log message *** 1999-01-13 21:39:14 +00:00
Alexandre Oliva
d9bc7946f9 * ltconfig.in (solaris): define `need_version' to no
1999-01-13  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* ltconfig.in (solaris): Define `deplibs_check_method',
	`file_magic_command', `need_lib_prefix' and `sys_lib_search_path'
	* ltmain.in (file_magic_regex): Add space before matching pattern,
	such that it works on solaris (solaris has a tab between the
	library name (including the colon) and the `ELF' and such the
	`ELF' will never be matched).
1999-01-13 20:48:54 +00:00
Edouard G. Parmelan
2e68bf5aec * ltconfig.in (NM): PATH search was not updated like in
libtool.m4, in last Alexandre Oliva's change to it
	(sysv4*, ncr): pass all library dependencies
	* ltmain.in (dependency_libs, -R): use `dep' instead of `arg' to
 	iterate, otherwise we'd overwrite `arg'
	(convenience, old_libs): if --disable-shared, convenience
	libraries are just old archives, as .lo's are of no use
	* tests/cdemo-static.test: print --disable-shared here
1999-01-13 20:27:17 +00:00
Edouard G. Parmelan
0862357f6d * ltmain.in (dependency_libs, -R): use dep' instead of arg' to
iterate, otherwise we'd overwrite `arg'
1999-01-13 20:09:43 +00:00
Alexandre Oliva
8c49ba24a3 * ltmain.in (old_archives, oldobjs): use find to SYMDEF here too 1999-01-13 18:27:43 +00:00
Alexandre Oliva
f956b65fc4 * configure.in (AC_CONFIG_SUBDIRS): added cdemo
* Makefile.am (DIST_SUBDIRS): ditto
	(ACINCLUDE_M4_LIST): ditto
	* tests/Makefile.am (TESTS): added cdemo-shared.test
	* tests/cdemo-static.test: disable shared libraries here
	* tests/cdemo-shared.test: disable static libraries here
	* doc/libtool.texi (Test descriptions): added cdemo tests
	* THANKS: added Edouard G. Parmelan

1999-01-13  Edouard G. Parmelan  <Edouard.Parmelan@France.NCR.COM>

	* ltmain.in: fix convenience libraries when static libraries
	are disables.
	* cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h,
	cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test,
	test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test:
	new tests for convenience libraries.
	* autogen, Makefile.am, test/Makefile.am: ditto.

	* ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS
	(i586-ncr-sysv4.3*) with native compiler.
	* README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
1999-01-13 08:28:35 +00:00
Thomas Tanner
89aa144652 *** empty log message *** 1999-01-12 20:42:47 +00:00
Alexandre Oliva
b77241c5b8 * ltmain.in, NEWS, doc/libtool.texi: Added support for -R flag
* ltmain.in, doc/libtool.texi: documented that -rpath is the same
	as -R for programs
	* ltmain.in: softened the instructions for linking with installed
	libraries, and noted that libtool can be used to link with them;
	documented that -rpath is not required for convenience libraries
1999-01-11 22:31:00 +00:00
Alexandre Oliva
40ef9f4a1f * ltmain.in (convenience, libobjs): get only .o and .lo files from
the files extract from the convenience library.  Some systems,
	such as FreeBSD2, will add a SYMDEF file, that is not an object
	file, and therefore should not be fed to the linker
1999-01-11 06:27:08 +00:00
Thomas Tanner
662305576a *** empty log message *** 1999-01-10 14:44:06 +00:00
Gary V. Vaughan
40802126fd default is to allow undefined symbols in libraries 1999-01-07 16:13:02 +00:00
Gary V. Vaughan
995b5afa7b use absolute directory paths in dllsearchpath 1999-01-06 17:51:59 +00:00
Alexandre Oliva
e1d24d3b02 * ltmain.in (libobjs_save, oldobjs): when building an
old-fashioned archive, use a copy of libobjs saved before
 	convenience libraries are appended

	* libltdl/ltdl.h (_LTDLL_EXPORT, _LTDLL_IMPORT): use cygwin or
	unix library import/export primitives; this may be convenient for
	people willing to create DLLs
	(_LTDLL_EXTERN): select _LTDLL_EXPORT or _LTDLL_IMPORT depending
	on _LTDL_COMPILE_
	* libltdl/ltdl.h, libltdl/ltdl.c (lt_dlpreopen): new function,
 	that replaces the current preloaded_symbols list with its
 	argument, and returns the old value, initially NULL
	(dldpre_init): don't refer to dld_preloaded_symbols any more
	(dldpre_open, dldpre_sym): search preloaded_symbols
	(lt_dlpreopen_default): call lt_dlpreopen with
	dld_preloaded_symbols, that is declared as extern; it should be
	called from the main program or from some static library without
	-no-undefined
	(lt_dlerror): new function, that returns the error message for the
	last error occurred; the error message is kept in the static
	variable last_error
	* libltdl/configure.in (enable-ltdl-install): moved back from
	enable-install; other packages might use enable-install already,
	better have fine grained control over this.
	* libltdl/Makefile.am (libltdls.la): discarded
1999-01-05 23:13:44 +00:00
Thomas Tanner
bd9c24ae34 *** empty log message *** 1999-01-05 18:15:22 +00:00
Alexandre Oliva
43769b5711 * ltmain.in (SP2NL, NL2SP): Don't delete empty lines, as this
would lose for files with embedded blanks.
1999-01-05 15:10:33 +00:00
Alexandre Oliva
9a1c15d7cf * ltconfig.in (cygwin, archive_cmds, archive_sym_cmds): Moved
ltdll.c into ltmain.in, to avoid its duplication, and added a sed
 	script to extract it.  Also, create def and base files in $objdir,
 	and don't remove them after the compilation.
	(cygwin, library_names_spec): Create static part of the dll with
 	suffix -dll.a, to avoid conflicts with actual static libraries.
	* ltmain.in: Added ltdll.c, as commented out text
1999-01-05 08:51:02 +00:00
Thomas Tanner
ec45a29680 *** empty log message *** 1999-01-01 20:01:09 +00:00
Thomas Tanner
48218d83e7 *** empty log message *** 1998-12-31 11:25:57 +00:00
Thomas Tanner
34e91b88c1 *** empty log message *** 1998-12-29 14:40:13 +00:00
Thomas Tanner
f55fd32f91 *** empty log message *** 1998-12-27 20:04:12 +00:00
Gary V. Vaughan
7791b0d40b fix deplibs for non ltlibs on win32 1998-12-24 16:02:41 +00:00
Gary V. Vaughan
fa787ea3d3 make wrapper scripts work on win32 1998-12-24 13:40:47 +00:00
Alexandre Oliva
e3be7dc0e1 * ltmain.in (SP2NL, NL2SP): use `tr' magic to avoid passing very
long lines to sed
	* doc/libtool.texi (sed): very long lines are no longer a problem
1998-12-23 19:40:56 +00:00
Gary V. Vaughan
aa4ae3b112 more improvements for the win32 port 1998-12-23 17:30:12 +00:00
Thomas Tanner
f772ee7a8e *** empty log message *** 1998-12-23 13:28:28 +00:00
Thomas Tanner
1d6e1de8a8 *** empty log message *** 1998-12-21 17:30:48 +00:00
Gary V. Vaughan
7fe8f5c785 misc win32 cleanups 1998-12-21 13:04:14 +00:00
Thomas Tanner
bd8bb66bb7 *** empty log message *** 1998-12-19 19:30:30 +00:00
Thomas Tanner
23d413543d *** empty log message *** 1998-12-18 22:23:51 +00:00
Stephan Kulow
779c2f4108 * ltmain.in (freebsd-aout, freebsd-elf): added missing dot to
versuffix
1998-12-16 03:56:49 +00:00
Alexandre Oliva
64b3cf7ae9 * ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined
only for -force-static; it should be removed soon, before people
	start to use it
1998-12-16 02:28:53 +00:00
Thomas Tanner
1c3b55c703 *** empty log message *** 1998-12-11 23:21:03 +00:00
Alexandre Oliva
e8e76d36b5 * ltmain.in (convenience, deplibs): propagate dependencies
* libltdl/Makefile.am (noinst_HEADERS): don't install ltdl.h yet
	(noinst_LTLIBRARIES): ditto for libltdl.la
1998-12-09 07:51:54 +00:00
Thomas Tanner
f906af718a *** empty log message *** 1998-12-08 13:12:10 +00:00