2358 Commits

Author SHA1 Message Date
Bruno Haible
d2abb3daaf * config/ltmain.sh (func_mode_install): Try "ln -s -f"
and "rm -f && ln -s" to make a symlink for a shared library: the
former is needed for libraries `ln' depends on, the latter for
Solaris /bin/ln.
Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.
2005-08-24 15:58:21 +00:00
Bruno Haible
24dd23f80e * config/ltmain.sh (cwrappersource): return 127 if exec failed. 2005-08-24 15:05:44 +00:00
Ralf Wildenhues
97bf147822 * m4/libtool.m4 (_LT_COMPILER_C_O): Send chmod warning to log. 2005-08-24 15:05:20 +00:00
Stepan Kasal
d52817ef2a * m4/ltdl.m4 (LTDL_INIT): Use AH_HEADER if defined.
Compute CONFIG_H only before creating config.status.
Reported by Peter Ekberg <peda@axentia.se>.
2005-08-23 16:05:07 +00:00
Ralf Wildenhues
77b7fd8cdb * Makefile.maint (web-manual): Fix $(LN_S) to use absolute path.
Fix creating the manual for VPATH build.
2005-08-23 13:57:21 +00:00
Ralf Wildenhues
0241ebe5f9 * bootstrap: Add default $auxdir value. ltmain.m4sh
is prerequisite to ltmain.sh.  Improve warning message.
2005-08-23 11:21:15 +00:00
Ralf Wildenhues
8032141d65 * m4/libtool.m4 (LT_OUTPUT): New macro to generate
libtool before config.status.
(_LT_CONFIG_COMMANDS): If LT_OUTPUT has been invoked, then
generate code in config.status to call config.lt instead of
generating libtool directly.
* doc/libtool.texi (LT_INIT): Document LT_OUTPUT.
2005-08-18 17:09:28 +00:00
Ralf Wildenhues
4567986a13 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]: Do not
assume `aout' for modern FreeBSD by absence of deprecated
`objformat'.
2005-08-18 06:55:59 +00:00
Ralf Wildenhues
fc43dbcb8d * m4/libtool.m4 [sun, CC] (_LT_LANG_CXX_CONFIG): Move postdeps
override ..
(_LT_SYS_HIDDEN_LIBDEPS): ..here.
2005-08-18 06:17:06 +00:00
Stepan Kasal
c115978345 Actually update ChangeLog. 2005-08-18 06:11:48 +00:00
Ralf Wildenhues
fefe6fd7d8 * config/general.m4sh (SP2NL, NL2SP): Simplify. 2005-08-18 06:11:18 +00:00
Gary V. Vaughan
a1f1c3c0b8 * m4/ltdl.m4 (LTDL_INIT): Fix mismatched parens. 2005-08-17 20:09:21 +00:00
Jeremie LE HEN
abfeeede19 * doc/libtool.texi (Creating object files, Linking libraries):
Update description of library object (.lo) and libtoo library
(.la) files.
(all over): Replace MODE with --mode=MODE in examples.
2005-08-12 22:53:01 +00:00
Ralf Wildenhues
fa7a0f6ccb * config/ltmain.m4sh (func_source): New function.
(func_mode_execute, func_mode_install, func_mode_link): Use it.
Do not append a dot to a file name to source, it breaks on
cygwin managed mounts and is not necessary anywhere.
Reported by Eric Blake <ebb9@byu.net>.
2005-08-12 21:06:47 +00:00
Ralf Wildenhues
b6342f066b * tests/defs.m4sh (func_configure): Rename to ..
(func_configure_nofail): this, call from old.
* tests/fcdemo-conf.test, tests/fcdemo-shared.test,
tests/fcdemo-static.test: Use.  Do not fail gratuitously but
SKIP on compilers that look like they could be Fortran 77-only.
Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
2005-08-12 20:20:04 +00:00
Ralf Wildenhues
676cd5cfd4 * config/ltmain.m4sh (mode): Do not initialize, for nicer error
messages.
2005-08-12 20:08:03 +00:00
Peter Ekberg
6ec0e049c1 * m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc. 2005-08-10 06:25:34 +00:00
Ralf Wildenhues
3ed78a260f * config/ltmain.m4sh (inherited_linker_flags): Backed out broken
patch.
2005-08-08 12:05:37 +00:00
Peter O'Gorman
2ca6ca80aa * config/ltmain.m4sh (inherited_linker_flags): Work when output
is an application too.
Reported by Christopher Egger <Christoph_Egger@gmx.de>
2005-08-08 10:45:19 +00:00
Ralf Wildenhues
eb28eed82d * m4/libtool.m4 (_LT_PROG_FC, _LT_LANG_FC_CONFIG): New macros
for modern Fortran.
(LT_LANG, _LT_LANG_DEFAULT_CONFIG, _LT_SYS_DYNAMIC_LINKER,
_LT_SYS_HIDDEN_LIBDEPS): Adjusted.
* tests/fcdemo-conf.test, tests/fcdemo-exec.test,
tests/fcdemo-make.test, tests/fcdemo-shared.test,
tests/fcdemo-static.test, tests/fcdemo/Makefile.am, tests/fcdemo/README,
tests/fcdemo/configure.ac, tests/fcdemo/cprogram.c, tests/fcdemo/foo.h,
tests/fcdemo/fooc.c, tests/fcdemo/foof.f90, tests/fcdemo/foof2.f90,
tests/fcdemo/foof3.f90, tests/fcdemo/fprogram.f90: New tests for Fortran.
* Makefile.am, configure.ac: Adjusted.
* NEWS: Updated.
2005-08-08 09:27:09 +00:00
Ralf Wildenhues
903b08e4fb * AUTHORS, HACKING: Updated. 2005-08-08 06:48:06 +00:00
Albert Chin-A-Young
d678749593 * config/ltmain.m4sh (func_mode_link): Ignore errors from expr
when determining if piece-wise linking should be done.
2005-08-05 07:52:05 +00:00
Ralf Wildenhues
fdba0faab2 * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Add
missing bit from Christoph's patch.
2005-08-04 13:50:43 +00:00
Ralf Wildenhues
4a8a4affa1 * m4/libtool.m4 (_LT_LINKER_HARDCODE_LIBPATH, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG): Comment typos.
2005-08-04 12:25:25 +00:00
Christoph Egger
5ccbf87c4f * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Change
basename() to base_name() and have it return a pointer to const,
fix compilation warnings.
2005-08-04 12:13:53 +00:00
Peter Ekberg
be0284a192 * m4/libtool.m4 (_LT_PROG_F77): Set it up so that saying F77=no
to configure disables the fortran tests in the testsuite.
2005-07-30 15:52:46 +00:00
Richard Moseley
3ad3660b34 * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
AC_LIST_HEADERS which is _AC_LIST_TAGS.
2005-07-29 13:25:08 +00:00
Peter Ekberg
d31c75fdbe * libltdl/Makefile.am: Make the LTDLOPEN define controllable
from the configure script.
* m4/ltdl.m4 (LTDL_INIT): Set the LTDLOPEN define according
to libname_spec.
2005-07-28 11:00:37 +00:00
Peter Ekberg
716bef0817 * tests/mdemo-dryrun.test: ls -l in MSYS sometimes shows year,
not time, for really fresh files. Add sleep 1 calls at
strategic places. Makes the test pass for MinGW.
2005-07-28 10:57:01 +00:00
Peter Ekberg
c3f3304b56 * m4/libtool.m4 (_LT_LINKER_OPTION): Fix copy-paste bug, it is
the linker that is tested.
2005-07-28 10:48:13 +00:00
Peter Ekberg
3600f723de * tests/demo-noinst-link.test: $make is empty on MSYS, replace
with $MAKE. Makes the test pass for MinGW.
2005-07-28 10:44:34 +00:00
Peter Ekberg
d55e301dd0 * config/ltmain.m4sh (func_generate_dlsyms): Properly remove
the fake symbol line ": @PROGRAM@ " from the list of exported
symbols.
2005-07-28 10:34:25 +00:00
Peter Ekberg
9c6f1ac4ab * libltdl/loaders/loadlibrary.c (vm_open): Set the error mode so
that no dialog is popped up in case the file given to
LoadLibrary is not a dll.
2005-07-28 10:17:17 +00:00
Peter Ekberg
65bcfde0d7 * config/ltmain.m4sh (func_mode_link) <lib>: Make sure
skipped_export is set to colon if _some_ cmd of
export_symbols_cmds is too long.
2005-07-28 10:09:05 +00:00
Peter Ekberg
7baaf98a7e * libltdl/ltdl.c: The linker is confused by having one
definition of lt_libltdlc_LTX_preloaded_symbols tagged with
__declspec(dllexport) in ltdl.c and one definition with an
initial value in libltdlcS.c. So, just say extern in ltdl.c.
Fixes the mdemo-exec.test for MinGW.
2005-07-28 10:03:06 +00:00
Peter Ekberg
a0311aaf12 * config/ltmain.m4sh (func_mode_link) <lib>: Zap duplicate
message "creating reloadable object files..."
2005-07-28 09:06:08 +00:00
Peter O'Gorman
67e8f4fd57 * m4/libtool.m4 (CXX, archive_cmds) [sun]: Add -lCstd, -lCrun
and -lc for c++ builds with Sun C++ and Centerline C++..
Reported by Albert Chin-A-Young <china@hewrittenword.com>
2005-07-24 12:19:17 +00:00
Ralf Wildenhues
ca761cd9ef * libltdl/Makefile.am (libltdl_la_DEPENDENCIES): Depend on
$(BUILT_SOURCES) as well, so that argz.h gets created through
`make libltdlc.la'.
Reported by Sven Verdoolaege <skimo@liacs.nl>.
2005-07-08 16:16:53 +00:00
Peter Breitenlohner
d83d04b49c * Makefile.am (install-data-local): Have root own of installed
files (but do not fail, for user installs).
2005-07-08 15:55:35 +00:00
Bruno Haible
c9a5f8f7e1 * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
[cygwin,mingw,pw32]: Make DLL executable after installing it.
2005-07-08 15:01:00 +00:00
Ralf Wildenhues
53cb1c6901 * config/ltmain.m4sh (func_mode_install): Do not assume `-f'
needs an argument if the install program is `cp'.  Cleanup
install mode somewhat.
Reported by Juergen Leising <juergen.leising@gmx.de>.
2005-07-08 13:47:11 +00:00
Thorsten Glaser
14318ae132 * m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Quieten configure
output for corner cases on some BSDs.
(LT_CMD_MAX_LEN): Another comment cleanup.
2005-07-03 18:15:30 +00:00
Thorsten Glaser
06c94fbf03 * config/ltmain.m4sh (func_extract_archives, func_mode_install),
m4/libtool.m4 (_LT_SETUP, _LT_SYS_DYNAMIC_LINKER, LT_PATH_LD)
(_LT_PATH_LD_GNU, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Comment language, indentation, and backquote cleanup.
* THANKS: Updated.
2005-07-03 16:56:26 +00:00
Ralf Wildenhues
c1803fac82 * config/ltmain.m4sh (func_mode_compile, func_mode_link),
m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH, _LT_ENABLE_LOCK):
Remove some unnecessary quotes.
2005-07-02 10:19:05 +00:00
Derek R. Price
50963b7bf8 * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
spaces in paths to executed programs.  Quote path in error message.
2005-07-01 02:21:57 +00:00
Ralf Wildenhues
ef0bc8b877 * THANKS: Updated. 2005-06-29 08:26:45 +00:00
Stepan Kasal
98a565c811 * clcommit.m4sh: "grep|sed" can be replaced by mere "sed".
* m4/libtool.m4 (_LT_LIBTOOL_TAGS): Remove unnnecessary "[]".
* m4/lt~obsolete.m4: Use m4_ifndef.
2005-06-29 08:24:19 +00:00
Stepan Kasal
3752b6dbfd * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator. 2005-06-27 14:55:14 +00:00
Stepan Kasal
54065c50eb * m4/ltoptions.m4 (_LT_UNLESS_OPTIONS, _LT_SET_OPTIONS): Replace
AC_FOREACH by a combination of m4_foreach/m4_split/m4_normalize.
2005-06-27 12:28:10 +00:00
Ralf Wildenhues
c6fd47f967 * ChangeLog: Formatting pedantry. 2005-06-27 11:01:53 +00:00