Commit Graph

419 Commits

Author SHA1 Message Date
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
Alexandre Oliva
2568f23e2b * THANKS: added Sebastian Wilhelmi 1999-01-13 20:50:40 +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
196265528f * libltdl/configure.in (libltdl_cv_shlibext, LTDL_SHLIB_EXT):
system-dependent extension of shared libraries
	(libltdl_cv_shlibpath_var, LTDL_SHLIBPATH_VAR): system-dependent
	run-time shared library search path
	* libltdl/ltdl.c (dldpre_init, dldpre_exit): unrelate init/exit
	from add/remove symlists, so one may add dld_preloaded_symbols
	from main(), when only a library will call dldpre_init
	(lt_dlopen): use LTDL_SHLIBPATH_VAR, if defined, as secondary
	search path.  Also, if a requested .la file cannot be found, try
	with the LTDL_SHLIB_EXTension instead.
1999-01-13 18:37:25 +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
3f2c102add * Makefile.am (@DIST_MAKEFILE_LIST@): `$' must be doubled 1999-01-13 16:08:28 +00:00
Alexandre Oliva
47ff66f5e0 added some info to mail/aix 1999-01-13 13:04:47 +00:00
Alexandre Oliva
c31f2100f3 * configure.in (AC_CONFIG_DIRS): configure only libltdl, and then,
only if --enable-ltdl-install
	(CONF_SUBDIRS): list directories that are configured on demand,
	but that must be included in the distribution
	(ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS
	* Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and
	readme-alpha, to handle README-alpha automatically
	(EXTRA_DIST): removed README-alpha
	(BUILD_SUBDIRS): subdirectories that are always built
	(SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL
	(DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure
	(all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from
	configure, and libtool, so that it is built before subdirs
	(configure-subdirs): new target
	(configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST),
	from configure
	(@DIST_MAKEFILE_LIST@): create subdir if needed, then run
	configure.
	On-demand configuration of subdirs at distribution time was
	suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
1999-01-13 10:41:07 +00:00
Alexandre Oliva
f9370ed9c2 * libtool.m4, ltconfig.in (NM): search for NM in PATH before
/usr/ccs/bin, /usr/ucb and /bin.  However, if the found one isn't
	BSD-compat keep searching.  If no BSD-compat is found, use the
	first we found.
1999-01-13 10:38:45 +00:00
Alexandre Oliva
02fde1ea95 * THANKS: added Raffaele Sena
1999-01-13  Raffaele Sena  <raff@aromatic.com>

	* libltdl/ltdl.c: replaced RTDL with RTLD
1999-01-13 08:59:34 +00:00
Manish Singh
43ef0cc11d * ltconfig.in (osf3*, osf4*, irix6*): include
${libname}{release}.so for library_names_spec
1999-01-13 08:31:00 +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
Gary V. Vaughan
0ba577eb78 configure --help indentation typo fixed 1999-01-12 14:30:07 +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
2a51373367 documented old_archive_from_new_cmds 1999-01-11 16:29:45 +00:00
Alexandre Oliva
24b3c755d8 * ltconfig.in (symxfrm): don't print $pipe_works twice, once for
each $ac_symprfx
	Reported by Godmar Back <gback@cs.utah.edu>
1999-01-11 06:33:33 +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
Alexandre Oliva
2487d7fccc * libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well
cache the value of ac_cv_sys_symbol_underscore
1999-01-11 06:14:39 +00:00
Alexandre Oliva
35f45d7e2e * libtool.m4 (AM_SYS_NM_PARSE): need for underscore prefix is now
auto-detected, by trying first without, then with it
	* ltconfig.in: ditto
1999-01-11 04:20:25 +00:00
Alexandre Oliva
fbd5377930 * configure.in (AC_CONFIG_SUBDIRS): add libltdl, demo, mdemo and
depdemo commented out, so that `dist' works before `check'
	(BUILD_LTDL): will contain libltdl if --enable-ltdl-install
	* Makefile.am (DIST_SUBDIRS): expand SUBDIRS and add depdemo,
	commented out
	(SUBDIRS): add $(BUILT_LTDL)
	* libltdl/Makefile.am (EXTRA_LTLIBRARIES): add libtest.la, the
	same as libltdl but always a convenience library.  Not built by
	default.  Both libraries now depend on the libtool script, that
	depends on ../libtool and is rebuilt when needed
	* mdemo/Makefile.am (mdemo, mdemo.debug): depend on and link with
	../libltdl/libtest.la, that is rebuilt if needed
	(mdemo_LDADD): removed $(LIBADD_M), to avoid silent failures
	(foo1.la): renamed from libfoo1.la; test removing the lib prefix
	* mdemo/foo1.c: renamed libfoo1_LTX symbols to foo1_LTX
	* mdemo/main.c: don't include string.h nor math.h, nor refer to
	sin nor cos
	* tests/mdemo-exec.test: renamed libfoo1.la to foo1.la
	* tests/mdemo-inst.test: ditto
1999-01-10 19:16:30 +00:00
Alexandre Oliva
48fcf6a997 * libltdl/ltdl.c (FILENAME_MAX): use it instead of MAX_FILENAME,
and don't redefine it if already defined; default to 1024, as on
	most systems
	(LT_SYMBOL_LENGTH): renamed from MAX_SYMBOL_LENGTH
	(LT_SYMBOL_OVERHEAD): new macro, that accounts for the size of
 	the _LTX_ separator and the initial underscore
	(lt_dlsym): sym now points to a stack buffer (lsym) if possible,
	or is dynamically allocated.  If allocation fails, a
	buffer_overflow_error is returned.
1999-01-10 19:15:01 +00:00
Thomas Tanner
662305576a *** empty log message *** 1999-01-10 14:44:06 +00:00
Alexandre Oliva
e842493250 *** empty log message *** 1999-01-09 20:05:55 +00:00
Alexandre Oliva
c107321bbd * libltdl/ltdl.c (lt_dlopen): missing strlen in bound test 1999-01-09 15:35:32 +00:00
Thomas Tanner
2a246ffc0d *** empty log message *** 1999-01-09 09:51:44 +00:00
Gary V. Vaughan
40802126fd default is to allow undefined symbols in libraries 1999-01-07 16:13:02 +00:00
Thomas Tanner
ea4730f0a8 *** empty log message *** 1999-01-06 21:04:20 +00:00
Thomas Tanner
3cc6319de5 *** empty log message *** 1999-01-06 20:59:53 +00:00
Gary V. Vaughan
995b5afa7b use absolute directory paths in dllsearchpath 1999-01-06 17:51:59 +00:00
Gary V. Vaughan
50fe45818e revert yesterdays cygwin -dll.a change 1999-01-06 17:29:45 +00:00
Gary V. Vaughan
ffcd6f5420 Jeff Garzik noticed a Linux wrapper script bug 1999-01-06 09:51:49 +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
05fe12aeda *** empty log message *** 1998-12-30 11:36:22 +00:00
Thomas Tanner
34e91b88c1 *** empty log message *** 1998-12-29 14:40:13 +00:00
Thomas Tanner
7c67132f85 *** empty log message *** 1998-12-27 21:35:37 +00:00
Thomas Tanner
f55fd32f91 *** empty log message *** 1998-12-27 20:04:12 +00:00