Commit Graph

677 Commits

Author SHA1 Message Date
Alexandre Oliva
19718ecd62 * Makefile.am (all-recursive): depend on ACINCLUDE_M4_LIST
(all-local, check-local): remove, unused
1999-03-14 05:41:21 +00:00
Alexandre Oliva
a8aef20e0e * config.guess: minor update for FreeBSD-elf, yet to be installed
at GNU
1999-03-14 05:25:13 +00:00
Alexandre Oliva
46aa918139 more reformatting 1999-03-14 05:11:11 +00:00
Alexandre Oliva
cc66e6eddb * doc/PLATFORMS: updated platforms tested on 1.2f-pre; clean up;
reorder; untabify
1999-03-14 04:41:59 +00:00
Alexandre Oliva
8f33d8b6d4 * config.guess, config.sub: updated from GNU common 1999-03-14 03:40:05 +00:00
Alexandre Oliva
a1210f767e * doc/libtool.texi: notes on thread-safety problems of
libltdl/dlopen on GNU/Linux and FreeBSD
1999-03-14 03:34:32 +00:00
Alexandre Oliva
5030549808 * ltconfig.in (aix3*, aix4*): GNU ld on AIX is very broken: it
cannot create working shared libraries.  Print a warning
suggesting the user not to use it and disable shared libraries.
1999-03-14 03:14:29 +00:00
Alexandre Oliva
06f34a0898 * ltconfig.in (global_symbol_to_cdecl): was reset before trying
`symprfx=_', rendering the test with `_' useless
1999-03-14 03:04:42 +00:00
Alexandre Oliva
d4a6d36ef0 * doc/libtool.texi (AM_PROG_LIBTOOL): eliminate overfull boxes 1999-03-14 03:00:21 +00:00
Alexandre Oliva
6ac54a6320 * doc/libtool.texi: complete dlopening/libltdl documentation 1999-03-14 02:31:38 +00:00
Alexandre Oliva
93f8997b02 * ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does
not really work; use file_magic instead.
(osf3*, osf4*): customize sys_lib_[dl]search_path_spec
1999-03-14 00:40:03 +00:00
Alexandre Oliva
6ee69fe155 * ltconfig.in (file_magic_test_file): new variable; if set, it
will be used as an argument for $file_magic_cmd to test whether
the regex in deplibs_check_method matches its output
(file_magic_cmd): use full pathnames whenever possible
1999-03-14 00:34:34 +00:00
Alexandre Oliva
6518dbe0dd oops, cut&paste error 1999-03-13 23:18:49 +00:00
Alexandre Oliva
eae67ea2bf * ltconfig.in (sys_lib_dlsearch_path_spec): new variable, that
lists the system *run-time* search path.  Listed directories are
not implicitly hard-coded into executables.
* ltmain.in: use it, but *never* discard -R flags
* doc/libtool.texi: document it
* NEWS: ditto
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1999-03-13 23:09:57 +00:00
Alexandre Oliva
0762ab0a48 * tests/sh.test: look for $Xsed' without $echo "X...'
* ltconfig.in, ltmain.in: fixed a few such occurrences
1999-03-13 22:20:33 +00:00
Alexandre Oliva
d80906a5d0 * ltmain.in (-static, -all-static): revert March 11's patch, I was
barking up the wrong tree
1999-03-13 21:18:33 +00:00
Thomas Tanner
5a20021ee6 updated depdemo 1999-03-13 17:41:49 +00:00
Thomas Tanner
61bb801686 * libltdl/ltdl.c: removed FILENAME_MAX since LTDL_FILENAME_MAX
is sufficient and doesn't break HP/UX
1999-03-12 20:47:44 +00:00
Alexandre Oliva
d3d44b7803 * ltconfig.in: (global_symbol_pipe) extract symbol tag from the
output of NM too
(global_symbol_to_cdecl): new variable; convert the output of
global_symbol_pipe to valid C declarations; on HP/UX, convert
text symbols to function declarations
* libtool.m4: similar modifications
* doc/libtool.texi: document new variable
* ltmain.in: use global_symbol_to_cdecl to generate lt_dlpreopened
symbols; avoid extracting symbol lists from dlpreopened files
twice; do not filter symbols from dlpreopened libraries
* TODO: fixed HP/UX dlpreopening problem
1999-03-11 22:55:48 +00:00
Alexandre Oliva
d3fefd9d6c * ltmain.in (-static, -all-static): set dlopen_self to
$dlopen_self_static regardless of link_static_flag or pic_flag
1999-03-11 22:46:07 +00:00
Alexandre Oliva
16d8b07615 * ltmain.in: FreeBSD bug that needs symbol table compiled with
-fPIC is fixed in release 3.1; use it only for 2.* and 3.0
1999-03-11 22:38:51 +00:00
Thomas Tanner
72db861fe7 * ltmain.in: when building a library it doesn't make
sense to remove a relinked program ("lt-" prefix)
1999-03-11 22:25:01 +00:00
Alexandre Oliva
c853ec3163 * mdemo/main.c (main, test_dl, test_dlself): propagate error
conditions better, to avoid false positives
1999-03-11 22:13:00 +00:00
Alexandre Oliva
c7c23418fd * */configure.in: AC_SUBST(LIBTOOL_DEPS)
* */Makefile.am $(OBJECTS): depend on libtool
(libtool): rebuild automatically
1999-03-11 21:28:36 +00:00
Alexandre Oliva
f126b86fc8 * ltconfig.in: set dlopen_* variables to unknown when appropriate
* ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if
*all* dlopen_* variables are set to unknown
1999-03-11 16:11:05 +00:00
Thomas Tanner
6d988bc854 * ltmain.in: delete the old output files (incl. the relinked binary)
before linking.
1999-03-11 12:31:46 +00:00
Thomas Tanner
44a4f0b8f5 * ltconfig.in: replaced `configure' with $progname and all
line numbers with @LINENO@
1999-03-11 08:23:19 +00:00
Alexandre Oliva
50b30fa4d5 * libltdl/ltdl.c (strdup): cannot return str when it's NULL
because of const correctness
1999-03-11 03:14:54 +00:00
Alexandre Oliva
b96c596a21 * libltdl/ltdl.c (strdup): always use our own, because the
standard strdup won't use lt_dlmalloc
1999-03-11 02:50:13 +00:00
Alexandre Oliva
507c5bf602 * ltconfig.in (dlfcn.h): function definition may cause warnings;
define variable instead
1999-03-11 02:26:29 +00:00
Alexandre Oliva
ca3dd128dd An account at gnu.org is no longer needed for the common files,
they're available for anonymous CVS
1999-03-11 01:26:34 +00:00
Alexandre Oliva
5c59d096e1 * ltmain.in: properly create an export file for a program,
avoiding error messages about not finding it
1999-03-11 01:21:57 +00:00
Alexandre Oliva
3d7a703484 * TODO: need to document AC_LIBLTDL_*; static self dlopening
problem fixed
1999-03-11 01:17:01 +00:00
Alexandre Oliva
b933475f97 * libtool.m4 (AC_LIBTOOL_DLOPEN): just set lt_dlopen=yes
(AC_LIBTOOL_SETUP): if lt_dlopen=yes, add --enable-dlopen to
libtool_flags; drop --enable-dlopen-self
* ltconfig.in: perform all the dirty work of testing for dlopening
support, because we need platform-dependent equivalents for
-export-dynamic, for self dlopening, and -static, for static self
dlopening
(dlopen_self_static): new configuration variable that is set to
yes only if static programs can dlopen themselves
* ltmain.in (-static, -all-static): dlopen_self=dlopen_self_static
1999-03-11 01:13:56 +00:00
Alexandre Oliva
477712665e * libltdl/configure.in (libltdl_cv_need_uscore): do not assume
dlfcn.h and LTDL_LAZY exist; use LTDL_GLOBAL and LTDL_LAZY_OR_NOW.
This test is likely to fail if self-dlopening does not work,
especially because we do not link the program with
-export-dynamic.  Let's just hope that platforms whose symbol
names start with underscores will also accept underscores for
dlopen.  We should probably use libtool to compile and link this
test, so that we can use -export-dynamic.
1999-03-11 00:58:19 +00:00
Alexandre Oliva
b0dc971f4d * mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h 1999-03-11 00:44:13 +00:00
Alexandre Oliva
0cd022a962 * configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh
so that they work if srcdir is relative too
1999-03-11 00:31:22 +00:00
Alexandre Oliva
ec1c9b7646 * libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
avoid introducing multiple --enable options when re-running
config.status
* libltdl/configure.in: if enable_ltdl_* is not set, assume no
* configure.in: if enable_ltdl_install is not set, enable it
1999-03-10 21:23:37 +00:00
Alexandre Oliva
6862fbcb71 * libltdl/configure.in: only assume implicit installation if
libltdl was libtoolized.  If not, print a warning message
suggesting the use of --enable-ltdl-install or of one of the
AC_LIBLTDL_* macros.
1999-03-10 20:39:03 +00:00
Alexandre Oliva
baced0e582 * libtool.m4 (AC_LIBTOOL_SETUP): new macro, that does all the
configure-work that AC_PROG_LIBTOOL used to do; add
--cache-file=$cache_file to libtool_flags
(AC_PROG_LIBTOOL): call AC_LIBTOOL_SETUP, save the cache, run
ltconfig and reload the cache
* configure.in: run AC_LIBTOOL_SETUP, then set LIBTOOL_FLAGS to
libtool_flags
* ltconfig.in: support --cache-file switch.  If it is used, load
the cache in the beginning and save it just before terminating
1999-03-10 20:24:40 +00:00
Alexandre Oliva
3a297fa7b3 * tests/Makefile.am (TESTS): run demo-nofast before demo-shared 1999-03-10 18:28:49 +00:00
Alexandre Oliva
b07baf719c * configure.in: create ltconfig and ltmain.sh at the end of
config.status, if they do not exist.  This fixes the bootstrap
problem reported by Erez Zadok <ezk@cs.columbia.edu>
1999-03-10 18:12:02 +00:00
Thomas Tanner
5a5d3ec3c5 *** empty log message *** 1999-03-10 17:28:39 +00:00
Thomas Tanner
a840ce0b07 * NEWS: ordered by importance
* Makefile.am: set LIBTOOL_FLAGS when generating libtool
* configure.in: check for dlopen support and set LIBTOOL_FLAGS
  accordingly
1999-03-10 17:23:28 +00:00
Thomas Tanner
c7e268df7d * configure.in: fix spacing for --disable-ltdl-install,
always configure libltdl, add libltdl/acinclude.m4 to
  ACINCLUDE_M4_LIST, disable installation of libltdl if necessary
* libltdl/Makefile.am: set version info for libltdl.la
* libltdl/configure.in: don't check whether
  enable_ltdl_convenience/install was set so that libltdl
  can be used as independent package (libltdl.tar.gz) without
  the need to use --enable-ltdl*
* libltdl/ltdl.c: minor cleanups, allocate the line cache
  dynamically (lt_dlopen)
1999-03-10 16:16:03 +00:00
Alexandre Oliva
6e60d47735 * libltdl/ltdl.c (lt_dlopen): some preprocessors choke if the `#'
of `#define' is not in column 1; let's go back to fortran! :-)
Add #undefs too, to avoid potential warnings or errors.
1999-03-10 14:33:22 +00:00
Alexandre Oliva
ed604d082d * libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE):
renamed convenience libltdl, dropped toinst hack for installable
* libltdl/Makefile.am: ditto
* libltdl/configure.in: ditto; abort if none of the macros is used
1999-03-09 23:09:01 +00:00
Alexandre Oliva
7618652fd8 * ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt- 1999-03-09 23:04:14 +00:00
Thomas Tanner
adf5912c04 * libltdl/ltdl.c (lt_dlopen): don't hardcode the length of the
constant strings
1999-03-09 23:00:24 +00:00
Alexandre Oliva
305bdedf2a * Makefile.am (install-data-hook): install libltdl as a directory,
not as a tar-file, so that we do not modify the build tree at make
install time
* libtoolize.in (ltdl, ltdl_tar): update
1999-03-09 22:57:26 +00:00