Commit Graph

494 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
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
Alexandre Oliva
d5b11cbfa2 - add --fast as synonym for -f
- document --msg
- add -q --quiet
- use `cvs -n update' instead of `cvs stat', because stat wouldn't
notice that a conflict had been resolved
- don't leave log_files behind
- don't accept unknown flags before --
- check for common mistakes in ChangeLog entries, and emit warnings
- reject commit message if it does not contain any non-blank line
- add `sleep 1' after running PAGER to give the user some time for a ^C
1999-01-22 07:01:25 +00:00
Alexandre Oliva
340552894a * demo/configure.in, demo/Makefile.am (DLPREOPEN): reverted; it
didn't make any difference.
1999-01-22 06:37:26 +00:00
Gary V. Vaughan
336436d264 * commit: Diagnose non-existant files named on the command line
* commit: Transposition typo re: opt && arg variables in argument
processing case.
1999-01-21 17:48:34 +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
1095b0d2c9 More notes in mail/LTLIBOBJ 1999-01-21 11:58:54 +00:00
Alexandre Oliva
76a9fcc833 Archived some mail in mail/LTLIBOBJ to remind us that
the LTLIBOBJ/LTALLOCA issue needs to be looked at.
1999-01-21 11:54:44 +00:00
Alexandre Oliva
ccce9e5556 Exercise my narcisism =)O| 1999-01-21 11:19:31 +00:00
Alexandre Oliva
981a66b4df * libltdl/configure.in: reintroduce code to detect native library
extension
* libltdl/ltdl.c (lt_dlopen): if a .la file name is given, that's
all.  Otherwise, lt_dlopen now tries to append .la first.  If this
fails, it tries the given filename, and, at last, tries to append
the native library extension to the given filename.
* doc/libtool.texi (lt_dlopen): explain new lookup strategy
1999-01-21 05:08:23 +00:00
Alexandre Oliva
24c33318ba * libltdl/ltdl.c: major rewrite to avoid almost all fixed-size
buffers; only `tmp' in lt_dlopen remained.  But the code got ugly
:-(
1999-01-21 04:27:26 +00:00
Alexandre Oliva
81df2fb6e3 * ltconfig.in (linux-gnu*, finish_cmds): remove erroneous backslash 1999-01-21 04:16:22 +00:00
Alexandre Oliva
0506cf492e * demo/configure.in: set DLPREOPEN to -dlopen if we don't have
shared libraries
* demo/Makefile.am (DLPREOPEN): use instead of -dlpreopen
(STATIC): use $(STATIC), not @STATIC@
* mdemo/Makefile.am (STATIC): ditto
* demo/Makefile.am, mdemo/Makefile.am (STATIC): do not use
1999-01-21 04:09:39 +00:00
Alexandre Oliva
6593e3f41e handle locally added and removed files 1999-01-21 03:54:04 +00:00
Alexandre Oliva
72abadcd76 * tests/demo-shared.test, tests/demo-static.test: new tests
* tests/mdemo-shared.test, tests/mdemo-static.test: ditto
* tests/Makefile.am: ditto
* doc/libtool.texi: document them
* demo/Makefile.am, mdemo/Makefile.am (@STATIC@): do not use
-static unconditionally, it can't work with --disable-static
* demo/configure.in, mdemo/configure.in: check whether libtool was
configured to build static libraries and, if not, set STATIC to an
empty string
1999-01-21 03:50:07 +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
26d9358821 major rewrite, with several new command-line options and documentation 1999-01-20 23:28:23 +00:00
Erez Zadok
d172a16cb3 * ltconfig.in (aix4*, with_gcc, archive_cmds): fix typo in Andrey
Slepuhin's last patch
1999-01-20 22:17:39 +00:00
Alexandre Oliva
96f5eb0883 * Makefile.am (@DIST_MAKEFILE_LIST@): work around Ultrix /bin/sh bug
* tests/nomode.test (must specify a MODE): ditto
Reported by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* THANKS: Added Rainer Orth
1999-01-20 22:12:51 +00:00
Rainer Orth
f42bb6c21f print list of locally modified files to stderr 1999-01-20 22:06:09 +00:00
Rainer Orth
fadbda341d * ltconfig.in: No known version of Solaris 2 hardcoded -L paths. 1999-01-20 21:59:03 +00:00
Erez Zadok
d4cdebab58 fix typo
support -F
1999-01-20 21:57:51 +00:00
Erez Zadok
4bfd53a8f4 major reformatting
support -l
stat only files to be committed
run ${PAGER-more} to view and possibly modify the commit message
remove $log_file if interrupted
1999-01-20 21:02:01 +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
Andrey Slepuhin
bf5399d059 1999-01-20 Andrey Slepuhin <pooh@msu.ru>
* ltconfig.in (aix4*): check for reworked collect2, always pass
	-bnoentry option to linker when building a shared library
1999-01-20 20:35:54 +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
3f3fe13d1c added new commit script 1999-01-20 20:13:16 +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
8fbb1535e6 * THANKS: Added Steven Schultz
1999-01-20  Steven M. Schultz <sms@wlv.iipo.gtegsc.com>

	* ltconfig.in (bsdi4*, check_shared_deplibs_method): file_magic
	(bsdi4*, sys_lib_search_path): add /shlib and other dirs
1999-01-20 19:30:13 +00:00
Alexandre Oliva
5053e11d81 * cdemo/main.c (main): use K&R definition syntax
* mdemo/main.c (test_dl, main): ditto
	(test_dl): casts return value of lt_dlsym to appropriate types
1999-01-20 18:42:10 +00:00
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