Commit Graph

122 Commits

Author SHA1 Message Date
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
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
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
Gary V. Vaughan
50fe45818e revert yesterdays cygwin -dll.a change 1999-01-06 17:29:45 +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
f55fd32f91 *** empty log message *** 1998-12-27 20:04:12 +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
23d413543d *** empty log message *** 1998-12-18 22:23:51 +00:00
Gary V. Vaughan
5962995c46 fixed archive_cmds for cygwin32 1998-12-14 15:14:47 +00:00
Thomas Tanner
f906af718a *** empty log message *** 1998-12-08 13:12:10 +00:00
Alexandre Oliva
312845d704 * ltconfig.in (solaris): do not use $CC for linking if GNU ld is
not available
1998-12-04 21:43:21 +00:00
Manfred Weichel
f14ddcdf3b * ltconfig.in: Port to SCO UnixWare 7.x. 1998-12-04 20:32:36 +00:00
Thomas Tanner
c23e0a74db *** empty log message *** 1998-12-03 20:49:31 +00:00
Thomas Tanner
3ce33a45f6 *** empty log message *** 1998-12-01 22:35:00 +00:00
Gary V. Vaughan
62eb32d68c Update the dll generation shell code for cygwin32. 1998-12-01 18:45:30 +00:00
Gary V. Vaughan
ad3e928936 require AC_CANONICAL_HOST for path canonicalization 1998-11-27 18:42:12 +00:00
Gary V. Vaughan
0e672b6be3 Added LD path canonicalization. 1998-11-27 16:52:37 +00:00
Gary V. Vaughan
2a86145cbf Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4. 1998-11-27 15:17:21 +00:00
Alexandre Oliva
752bc3a36a * ltconfig.in (echo): avoid shell error messages when we're
testing for large command line support
	Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
1998-11-25 02:28:38 +00:00
Alexandre Oliva
3a823c4709 * doc/PLATFORMS: updated last-tested release for platforms I've
got access to

	* THANKS: added Chris P. Ross

	* ltconfig.in: added recognition of the dynamic linker on BSD/OS 4.x
	* README: added BSD/OS 4.x to the list of supported platforms
	* doc/PLATFORMS: added BSD/OS 4.x support for various host id's
1998-11-25 01:20:59 +00:00
Alexandre Oliva
02424f059f * ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create
libraries with gcc -shared if using gcc without GNU ld.

	* ltconfig.in: replaced occurrences of solaris2 with solaris, to
	prepare for Solaris 7
1998-11-21 06:42:36 +00:00
Alexandre Oliva
6ac0b9a144 * ltconfig.in (echo_test_string): the whole ltconfig script was
too much for DU4.0's ksh, but the first 50 lines will be enough.
1998-11-19 20:28:01 +00:00
Steve Price
f862078a89 * ltconfig.in: when $host_os is freebsd[23]* determine whether
the current linker format is a.out or ELF
	* ltmain.in: add two new $version_type's, freebsd-aout and
	freebsd-elf, to support above change
1998-11-16 19:39:25 +00:00
Stephan Kulow
791c05ea82 * ltconfig.in: extent no_builtin_flag to contain -fno-rtti and
-fno-exceptions in case we compile with a gcc, that supports
	this options (egcs and gcc >= 2.8)
1998-11-16 13:21:02 +00:00
Alexandre Oliva
2d37f44824 * ltconfig.in: make use of '~' field separator in reload_cmds,
old_archive_from_new_cmds, old_archive_cmds, archive_cmds,
 	old_postinstall_cmds, postinstall_cmds, old_postuninstall_cmds,
 	postuninstall_cmds and finish_cmds, so that the semi-colons inside
 	if/then/else/fi and for/do/done etc. do not break the eval loop in
 	ltmain.in (below).
        * ltmain.in: changed all of the eval loops to use an IFS of `~',
 	to allow differentiation between the end-of-statement-;
	(now `~' is used) and end-of-substatement-; (still `;').  This
 	fixes AIX and win32 at least.
1998-11-11 21:12:30 +00:00
Alexandre Oliva
1abeff470b * ltconfig.in (sunos*, sympat, symxfrm): remove underscore
prepended by the compiler
1998-11-11 03:39:08 +00:00
Toshio Kuratomi
cfae038fa3 * ltconfig.in: re-enable deplibs
* ltmain.in: support deplibs, at least for GNU/Linux/x86
1998-11-11 01:47:02 +00:00
William M. Perry
983f1cb8e3 * ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds 1998-11-07 07:19:18 +00:00
Alexandre Oliva
69ef5488f6 * ltconfig.in: add --falback-echo, to be used if everything else
fails.  The tests now check the behavior of $echo for very large
 	strings, because some echo commands would just core dump (e.g.,
 	Solaris' printf).  If too large strings fail, smaller ones are
 	tested.
	(ltecho): arrange that, if the --fallback-echo method is selected,
	echo will be defined in the libtool script so as to re-run itself,
	not ltconfig
	* ltmain.in: add --fallback-echo
	(qecho) ensure that, if --falback-echo is being used, qecho is
	defined with the full pathname of the libtool script
1998-11-07 07:04:04 +00:00
Michael Tiemann
70fb641af4 * ltconfig.in (irix6): it's a little bit different from irix5 1998-11-04 10:15:49 +00:00
Alexandre Oliva
8c1f97e1be 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
* ltconfig.in, ltmain.in: updated and fixed the patches below

1998-11-04  Thomas Tanner  <tanner@gmx.de>

	* mdemo/*: added new demo to demonstrate building of dlopenend
	modules
	* tests/Makefile.am, tests/mdemo*: added some tests for mdemo

1998-11-04  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>

	* demo/configure.in: added AC_EXEEXT macro so that the tests can
 	work on cywin32/mingw32 hosts.  This requires the current CVS
 	autoconf

1998-11-04  Thomas Tanner  <tanner@gmx.de>

	* ltmain.in: New flag -export-symbols; new dlpreopen system
	* demo/dlmain.c: removed dld_preloaded_symbol_count

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltmain.in: On installation, don't get confused if the same name
	appears more than once in the list of library names.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Add objext and libext variables.  Check for object
	suffix.  Check for mingw32* as well as cygwin32*.  Use objext when
	testing compiler.  Add support for Visual C++ on cygwin32 when not
	using gcc.  Add objext, libext, and fix_srcfile_path to generated
	libtool script.
	* ltmain.in: Use .${objext} rather than .o.  Use fix_srcfile_path
	if it is set.  Check for .obj as well as for .o, and for .lib as
	well as for .a.  Use .${libext} rather than .a when creating old
	libraries.
	* libtoolize.in: Change initial /bin/sh to @SHELL@.
	* libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for
	AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the
	AC_REQUIRE in AC_CHECK_TOOL.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Look in the right directory for libtool.c in
	archive_cmds for cygwin32.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Fix cygwin32 support to avoid using a double
	extension, to delete the def file, to set version_type to windows,
	and to include versuffix in the DLL name.
	* ltmain.in: Add support for a version_type of windows.

1998-11-04  Ian Lance Taylor  <ian@cygnus.com>

	* ltconfig.in: Add cygwin32 support.
	* libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a
	cygwin32 host.  Pass DLLTOOL and AS to ltconfig.
	(AM_SYS_LIBTOOL_CYGWIN32): New macro.
1998-11-04 09:43:29 +00:00
Alexandre Oliva
b9d0ec01b0 * ltconfig.in: On AIX, don't treat GNU ld specially. 1998-11-04 08:33:52 +00:00
Alexandre Oliva
0e6a6a08b7 * ltconfig.in (hardcode_minus_L): Revert Ian's patch for
ltconfig.in.  Although -L hardcoding is not used with GNU ld, it
	does happen, so hardcode_minus_L must be set to yes.
1998-11-04 07:36:59 +00:00
Alexandre Oliva
1168e3b550 * ltconfig.in (compiler_o_lo): check whether we can write directly
to a .lo
	* ltmain.in (compiler_o_lo): if not, write to .o and rename it
1998-11-04 07:10:43 +00:00
Ian Lance Taylor
d96dbaa246 sh.test did not like `if -rpath' in a comment 1998-11-04 06:36:02 +00:00
Ian Lance Taylor
c6c2f3ad4a * ltconfig.in: For sunos4 using GNU ld, set hardcode_minus_L to
no.
	* ltmain.in: Add some hacks to make SunOS --enable-shared work
	when using GNU ld.
1998-11-04 06:17:44 +00:00
Marc J. Fraioli
ab277a78f6 * ltconfig.in (uts4, dgux): new supported platforms 1998-11-04 05:56:45 +00:00
Alexandre Oliva
09a44649a3 * ltconfig.in (need_locks): if neither `-c -o' nor hard links are
available, fallback to not so safe mechanism, by setting
	need_locks to warn
	* ltmain.in (need_locks): when need_locks is set to warn, use the
	lockfile to try to fail in case of incorrect concurrent builds
1998-11-04 05:50:33 +00:00
Eric Estievenart
8747a04ff9 * doc/libtool.texi (Compile mode): Document that -o is fully
supported.

	* libtool.m4 (libtool-lock): new ARG_ENABLE; sets (need_locks)
	* ltconfig.in (disable-lock): control need_locks
	(hard_links): check whether hard-links can be used for locking
	* ltmain.in (need_locks): use $output_obj.lock for locking
1998-11-04 04:13:03 +00:00
Ian Lance Taylor
2b891d56f4 * ltconfig.in: For sunos4, add ${libname}.so$versuffix to
library_names_spec.
	* ltmain.in: For version_type of sunos, set versuffix even if
	-version-info was not used.
1998-11-02 23:05:42 +00:00
Alexandre Oliva
00342f45b1 * ltmain.in (libobj): default value must not contain directory
components

	* ltconfig.in (compiler): detect if the compiler supports
	-c and -o flags, create a variable compiler_c_o. Also issue
	a big warning if it is not supported

	* ltmain.in (compile): enable the -o option as input for libtool.
	The objects are not moved if the compiler supports -o with -c.
	Sources and objects can contain relative directories.
	(link): enable the linking of executables into relative directories
1998-11-02 17:21:52 +00:00
Gordon Matzigkeit
abbbed1983 Minor cosmetic fixe and CVS administrivia.
CVS:
CVS:
1998-10-27 16:09:56 +00:00
Gordon Matzigkeit
c6d1fb8b49 *** empty log message *** 1998-08-20 15:48:13 +00:00