Commit Graph

762 Commits

Author SHA1 Message Date
Alexandre Oliva
1636655430 *** empty log message *** 1999-01-20 18:27:42 +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
6935dcde62 * ltconfig.in (global_symbol_pipe): #define const to nothing if
not __STDC__
1999-01-20 18:10:18 +00:00
Alexandre Oliva
79089aad81 * demo/dlmain.c (main): cast s->address to the appropriate pointer
types, otherwise StunOS4's cc refuses to compile it
1999-01-20 18:06:47 +00:00
Alexandre Oliva
8d22e74b08 * 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
1999-01-20 17:47:48 +00:00
Alexandre Oliva
ca91b60c01 * demo/dlmain.c (main): add missing const to declaration of name 1999-01-20 17:05:29 +00:00
Alexandre Oliva
c914286f6a updated TODO 1999-01-20 13:45:21 +00:00
Alexandre Oliva
19c4321c19 mail/aix has been resolved 1999-01-20 13:16:21 +00:00
Alexandre Oliva
c50684a06e * 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
1999-01-20 13:08:50 +00:00
Alexandre Oliva
3770203057 * demo/configure.in (AC_C_CONST): added, for portability
* mdemo/configure.in (AC_C_CONST): ditto
	* libltdl/configure.in (AC_C_CONST, AC_C_INLINE): ditto
	* libltdl/ltdl.c (LTDL_FILENAME_MAX): use FILENAME_MAX if defined
	(FILENAME_MAX): replace all explicit uses with LTDL_FILENAME_MAX
	(presym_free_symlists, trim): don't return void, for portability
	(lt_dlgetsearchpath): replace (void) with __P((void))
1999-01-20 13:01:27 +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
bce83af75f * mdemo/main.c (LTDL_PREOPENED_SYMBOLS): remove 1999-01-20 12:28:43 +00:00
Gary V. Vaughan
2d957688f4 freebsd-elf deplibs port 1999-01-20 12:15:35 +00:00
Alexandre Oliva
c2d159681b * TODO: should we also build a `static' copy of a convenience
library out of .o files?
1999-01-20 10:21:01 +00:00
Alexandre Oliva
2a98311f7b * 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*)
1999-01-20 10:07:04 +00:00
Alexandre Oliva
67646eef64 from automake 1.4 1999-01-20 09:52:29 +00:00
Alexandre Oliva
3f48b18b50 * THANKS: added Manfred Weichel
* ltconfig.in (sysv5*): same as sysv4.3*
1999-01-20 09:47:57 +00:00
Alexandre Oliva
9b0e18ca34 * libltdl/ltdl.c (lt_dlopen): properly detect error condition when
full pathname of non-libtool library is provided
1999-01-20 09:11:29 +00:00
Alexandre Oliva
8c83b51788 * 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...
1999-01-20 09:06:46 +00:00
Alexandre Oliva
c74935fc47 * libltdl/ltdl.h (LTDL_PRELOADED_SYMBOLS): remove it; better to
declare lt_preloaded_symbols
	* doc/libtool.texi (LTDL_PRELOADED_SYMBOLS): ditto
1999-01-20 08:58:51 +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
508d8894a0 * libltdl/Makefile.am (Makefile): depend on libtool 1999-01-19 23:56:32 +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
Alexandre Oliva
8d2800fa9a * Makefile.am (check-local): depend on libltdl/Makefile 1999-01-19 23:50:26 +00:00
Alexandre Oliva
5bab79af94 * Makefile.am (check-local): depend on libltdl/Makefile 1999-01-19 23:48:08 +00:00
Alexandre Oliva
27767b945e * mdemo/Makefile.am (mdemo_LDFLAGS, mdemo_LDADD): moved -dlopen
flags to LDADD
	* doc/libtool.texi (Using Automake): how to add -dlopen to LDADD
1999-01-19 23:45:01 +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
Alexandre Oliva
ec1248eb7b * 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
1999-01-18 13:30:43 +00:00
Alexandre Oliva
086c174e8f * 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>
1999-01-18 13:16:55 +00:00
Thomas Tanner
6b7c38b36c *** empty log message *** 1999-01-17 11:19:40 +00:00
Alexandre Oliva
9f6e865761 * 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}'
1999-01-17 09:18:54 +00:00
Alexandre Oliva
d4d0f75be9 fixed 1999-01-17 08:05:45 +00:00
Alexandre Oliva
3dfd80fb0d * mdemo/Makefile.am (../libltdl/libltdlc.la): depend on
../libtool, because ../libltdl/libtool depends on it
	(mdemo_debug_*): copy from mdemo_*, adding -static to LDFLAGS
1999-01-17 05:47:10 +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
8d903ac44d missing entry 1999-01-17 05:00:32 +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
Alexandre Oliva
a2f4fa559b * libltdl/ltdl.h (lt_dlpreopen_default): reverted to a macro
without arguments, that calls lt_dlpreopen_default_ with
	lt_dlpreloaded_symbols
	* libltdl/ltdl.c (lt_dlpreopen_default_): renamed from
	lt_dlpreopen_default
1999-01-17 04:15:06 +00:00
Gary V. Vaughan
b5a58b449a improved aix support 1999-01-15 12:31:10 +00:00
Thomas Tanner
1b42249d43 *** empty log message *** 1999-01-15 09:21:04 +00:00
Thomas Tanner
031bd5cb38 *** empty log message *** 1999-01-14 20:07:09 +00:00
Alexandre Oliva
22d81a591e * Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and
add them to the distribution.  Added work-around if `mv -f' fails.
	fix @AINCLUDE_M4_LIST@ and @DIST_MAKEFILE_LIST@ for relative and
	absolute specifications of srcdir
1999-01-14 19:08:18 +00:00
Thomas Tanner
bfe6d93ab4 *** empty log message *** 1999-01-14 16:31:23 +00:00
Thomas Tanner
1f37f97bf1 *** empty log message *** 1999-01-14 15:07:12 +00:00
Gary V. Vaughan
3611ad0c44 don't hardcode the UNIX ; PATH separator 1999-01-14 13:05:21 +00:00
Thomas Tanner
52ea40640a *** empty log message *** 1999-01-14 09:33:48 +00:00
Alexandre Oliva
751b01ef7b * mdemo/Makefile.am (../libltdl/libtool): mkdir and configure
../libltdl
1999-01-13 22:07:33 +00:00
Thomas Tanner
94cfa949e2 *** empty log message *** 1999-01-13 21:39:14 +00:00
Alexandre Oliva
510d65627b * doc/libtool.texi (Test descriptions): cdemo-static works, thanks
to Edouard Parmelan!
1999-01-13 21:13:13 +00:00
Alexandre Oliva
2de0b674e0 something's wrong with my NFS server :-( 1999-01-13 20:57:11 +00:00