Commit Graph

2399 Commits

Author SHA1 Message Date
Ralf Wildenhues
87f03ead79 * 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:19:40 +00:00
Ralf Wildenhues
bf7e3e1bea * config/ltmain.m4sh (mode): Do not initialize, for nicer error
messages.
2005-08-12 20:07:21 +00:00
Peter Ekberg
597e574635 * m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc. 2005-08-10 06:25:10 +00:00
Ralf Wildenhues
3a859cfaed * config/ltmain.m4sh (inherited_linker_flags): Backed out broken
patch.
2005-08-08 12:03:52 +00:00
Peter O'Gorman
dd94ca1682 * 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:44:45 +00:00
Ralf Wildenhues
a1b595f6ab * 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.
* tests/convenience.at: Extended.
* Makefile.am, configure.ac: Adjusted.
* NEWS: Updated.
2005-08-08 09:23:57 +00:00
Ralf Wildenhues
6d1b0beae3 * AUTHORS, HACKING: Updated. 2005-08-08 06:47:42 +00:00
Albert Chin-A-Young
da0c4dbcbb * config/ltmain.m4sh (func_mode_link): Ignore errors from expr
when determining if piece-wise linking should be done.
2005-08-05 07:50:54 +00:00
Ralf Wildenhues
60444dcf55 * config/ltmain.m4sh (func_mode_link) <cwrappersource>: Add
missing bit from Christoph's patch.
2005-08-04 13:50:18 +00:00
Ralf Wildenhues
7b5934214c * m4/libtool.m4 (_LT_LINKER_HARDCODE_LIBPATH, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG): Comment typos.
2005-08-04 12:24:45 +00:00
Christoph Egger
6c7b649700 * 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:12:46 +00:00
Peter Ekberg
6ca1b539fb * 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:51:00 +00:00
Richard Moseley
1573981fac * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
AC_LIST_HEADERS which is _AC_LIST_TAGS.
2005-07-29 13:24:13 +00:00
Peter Ekberg
d3a95f3f9e * 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 10:59:32 +00:00
Peter Ekberg
26b55149ee * 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:55:35 +00:00
Peter Ekberg
715a3e709d * m4/libtool.m4 (_LT_LINKER_OPTION): Fix copy-paste bug, it is
the linker that is tested.
2005-07-28 10:46:56 +00:00
Peter Ekberg
764c665e7d * tests/demo-noinst-link.test: $make is empty on MSYS, replace
with $MAKE. Makes the test pass for MinGW.
2005-07-28 10:42:45 +00:00
Peter Ekberg
bf04cdd3da * config/ltmain.m4sh (func_generate_dlsyms): Properly remove
the fake symbol line ": @PROGRAM@ " from the list of exported
symbols.
2005-07-28 10:23:18 +00:00
Peter Ekberg
e535901dc1 * 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:15:57 +00:00
Peter Ekberg
cd3f349054 * 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:07:17 +00:00
Peter Ekberg
32580388c3 * 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:01:03 +00:00
Peter Ekberg
6aaa55d28a * config/ltmain.m4sh (func_mode_link) <lib>: Zap duplicate
message "creating reloadable object files..."
2005-07-28 08:38:09 +00:00
Peter O'Gorman
c5c7fc0432 * 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:20:43 +00:00
Ralf Wildenhues
c52d0fc021 * m4/libtool.m4 (_LT_CHECK_XSI_SHELL): Fix bogus merge.
Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.
2005-07-11 12:11:25 +00:00
Ralf Wildenhues
639faa31d0 * 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:11 +00:00
Peter Breitenlohner
d16ee3379b * Makefile.am (install-data-local): Have root own of installed
files (but do not fail, for user installs).
2005-07-08 15:54:57 +00:00
Bruno Haible
facc2c547a * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) <postinstall_cmds>
[cygwin,mingw,pw32]: Make DLL executable after installing it.
2005-07-08 14:59:59 +00:00
Ralf Wildenhues
4efdab0b16 * 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:45:59 +00:00
Thorsten Glaser
81dbd5c8bf * 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:07 +00:00
Thorsten Glaser
782ffea592 * 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:55:50 +00:00
Peter O'Gorman
14c1c16bee * tests/inherited_flags.at: Use -no-undefined.
Reported by Chris Oxenreider <oxenreid@state.net>
2005-07-02 14:44:20 +00:00
Ralf Wildenhues
d3f2c0f84d * 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:18:28 +00:00
Ralf Wildenhues
5801b0f4df * tests/convenience.at <GCJ>: Fix java test.
Reported by Eric Blake <ericblake@comcast.net>.
2005-07-02 09:58:59 +00:00
Derek R. Price
806b1a4940 * config/ltmain.m4sh (func_mode_link) <shell wrapper>: Handle
spaces in paths to executed programs.  Quote path in error message.
2005-07-01 02:19:46 +00:00
Ralf Wildenhues
9d6b2310e5 * THANKS: Updated. 2005-06-29 08:26:20 +00:00
Stepan Kasal
03590110e7 * 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:23:36 +00:00
Stepan Kasal
565e361593 * m4/ltsugar.m4 (lt_combine, _lt_combine): Fix default separator. 2005-06-27 14:54:09 +00:00
Stepan Kasal
f923ab03b5 * 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:27:51 +00:00
Ralf Wildenhues
9bbfb83d0c * ChangeLog: Formatting pedantry. 2005-06-27 10:43:40 +00:00
Ralf Wildenhues
c100d41a93 * m4/ltoptions.m4 (_LT_SET_OPTIONS): Remove unnecessary workaround for
CVS Automake bug (fixed).  Reported by Stepan Kasal <kasal@ucw.cz>.
2005-06-27 10:06:31 +00:00
Peter O'Gorman
88c8c8b448 * conig/ltmain.m4sh [darwin]: Accept -arch flag. 2005-06-21 14:18:24 +00:00
Ralf Wildenhues
4464ebcb99 * m4/libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
New macros: save warnings and boilerplate of simple compile/link tests.
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Call.
(_LT_COMPILER_OPTION, _LT_LINKER_OPTION, _LT_COMPILER_C_O, ):
Fail only if nonempty warnings different from default compile/link.
2005-06-18 16:49:52 +00:00
Ralf Wildenhues
3bd31694ac * m4/ltsugar.m4 (lt_car, lt_cdr): New macros, clones of m4_car/m4_cdr
with the fixed semantics of Autoconf-59c CVS, in order to work with
2.59.  (lt_combine): Use it.
2005-06-17 12:42:34 +00:00
Ralf Menzel
151f807f3d * m4/ltoptions.m4 (_LT_SET_OPTIONS): Loop options only if
nonempty.
* m4/ltsugar.m4 (lt_combine): Don't test against empty quotes,
test against empty arg.  Fixes infinite m4 loop with CVS Autoconf.
2005-06-11 11:11:45 +00:00
Ralf Wildenhues
a797e82eb9 * m4/libtool.m4 (_LT_COMPILER_OPTION, _LT_LINKER_OPTION): No
need for $ECHO here.  Fix sed script syntax to be portable.
This should now put the pic-flag right after the last $*FLAGS
variable again, if any.  Necessary for Fortran AC_FC_SRCEXT.
2005-06-11 11:01:59 +00:00
Ralf Wildenhues
ed08208024 * m4/libtool.m4 (_LT_CONFIG_COMMANDS): Remove long lines. 2005-06-09 17:10:32 +00:00
Ralf Wildenhues
6631f9a3fd * m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
_LT_LANG_CXX_CONFIG): PGI also has pgf95.  PGI static flag is
`-Bstatic'.  Remove harmless extra comma from whole_archive output.
2005-06-06 16:12:53 +00:00
Ralf Wildenhues
0872a7f5fc * config/ltmain.m4sh (func_mode_compile): In order to find out
about forbidden characters in output, check with grep after checking
func_quote_for_eval result.  Also, warn instead of fail.
* config/general.m4sh (func_quote_for_eval, func_quote_for_expand):
Revert SunOS sh bug workaround patch from 2004-12-28 as it
triggers bugs in the Tru64 5.1B shell.
Reported by Albert Chin <libtool@mlists.thewrittenword.com> and
Nicolas Joly <njoly@pasteur.fr>.
2005-06-05 17:34:17 +00:00
Olly Betts
7e0238b4f3 * libltdl/argz.c (argz_create_sep): Fix typo. 2005-06-01 19:09:00 +00:00
Peter O'Gorman
f51baa4e30 * config/ltmain.m4sh: Do not add installed static litool libraries
to convenience, they are not convenience libraries.
Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
2005-05-31 03:49:05 +00:00