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
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
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
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
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 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
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
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
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
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
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
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
2ede6e2f27
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [ aix ]:
...
Fix wrong $ECHO use overlooked in 2005-04-27. Simplify slightly.
2005-05-15 16:31:10 +00:00
Ralf Wildenhues
42898c05b3
* m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS,
...
_LT_LANG_CXX_CONFIG) [ linux ]: PGI:
Add $pic_flag to archive_cmds and archive_expsyms_cmds.
Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
2005-05-15 14:11:32 +00:00
Gary V. Vaughan
a262a3633a
* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Propogate ltdl directory.
2005-05-06 17:39:59 +00:00
Ralf Wildenhues
f20477da8e
Actually commit.
2005-04-29 08:54:10 +00:00
Ralf Wildenhues
5264845f3a
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does
...
not understand \t in regex.
Reported by Tim Van Holder <tim.vanholder@gmail.com>.
2005-04-27 11:51:50 +00:00
David Edelsohn
dcc7897d26
* m4/libtool.m4 (_LT_LINKER_SHLIBS): _LT_TAGDECL(file_list_spec).
...
* config/ltmain.m4sh (func_mode_link): Change $filelist to $output.
2005-04-25 16:25:14 +00:00
Ralf Wildenhues
a18e5a214c
* m4/libtool.m4 (_LT_CC_BASENAME): Ignore `compile'.
2005-04-24 17:42:22 +00:00
Ralf Wildenhues
f77428feed
* m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [solaris]:
...
Update wl for Sun Studio f77/f90/f95. Fix whole_archive_flag_spec
for cc and f77/f90/f95 to prevent reordering in case we link with $CC.
2005-04-23 15:44:27 +00:00
Ralf Wildenhues
1cb88d57c6
* m4/libtool.m4: Audit use of echo vs $ECHO.
...
* TODO: Update.
Reported by Robert Ögren <lists@roboros.com> and others.
2005-04-23 14:19:17 +00:00
Gary Kumfert
c820b259f4
* m4/libtool.m4 (_LT_LANG_F77_CONFIG) [ aix4, aix5 ]:
...
Adjust logic to match the C case: Only disable static if not
on ia64 nor runtimelinking.
2005-04-23 08:14:10 +00:00
Gary V. Vaughan
94cc58be06
The FSF are moving offices today. Changed their contact address
...
in all files from `59 Temple Place, Suite 330, MA 02111-1307' to
`51 Franklin Street, Fifth Floor, MA 02110-1301'.
2005-04-22 10:10:31 +00:00
David Edelsohn
59031e0e9f
* config/ltmain.m4sh (func_mode_link): If command exceeds
...
max_cmd_len and file_list_spec exists, write list of input files
to temporary file.
* m4/libtool.m4 (_LT_LINKER_SHLIBS, aix[45]): Define file_list_spec.
(_LT_LANG_CXX_CONFIG, aix[45]): Define file_list_spec.
2005-04-19 14:44:42 +00:00
Maciej W. Rozycki
4f54066116
* m4/libtool.m4 (_LT_LANG_GCJ_CONFIG): Add old_archive_cmds
...
definition.
2005-04-15 14:39:00 +00:00
Ralf Wildenhues
5b9fd5f43a
* m4/libtool.m4 (_LT_CC_BASENAME): New macro to figure out $cc_basename.
...
Skip ccache, distcc, purify, cmdline options, `$host_alias-' prefix.
(_LT_SETUP, _LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG,
_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Use.
* NEWS, TODO: Update.
2005-04-15 13:36:56 +00:00
Ralf Wildenhues
5fbecdee16
* config/general.m4sh, libtool.m4 (_LT_SETUP), tests/defs.m4sh,
...
tests/functests.at: Fix definition of $Xsed.
2005-04-12 17:28:48 +00:00
Ralf Wildenhues
652709d688
Improved Portland support: prelinking of C++ templates and whole_archive.
...
* m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LINKER_SHLIBS) [ linux ]:
Reinstate formatted whole_archive_flag_spec for PGI compilers.
* config/ltmain.m4sh (func_mode_link), m4/libtool.m4 (_LT_LINKER_SHLIBS):
New tag prelink_cmds, to be executed before linking a program.
(_LT_LANG_CXX_CONFIG) [ linux ]: Use for pgCC.
(_LT_COMPILER_C_O): conftest might be nonempty, clean up more thoroughly.
2005-04-07 17:58:26 +00:00
Ralf Wildenhues
ae669866bd
* m4/libtool.m4 (_LT_CONFIG_COMMANDS): Only call sed if
...
necessary while quoting all libtool variables.
Reported by Robert Ögren <lists@roboros.com>.
2005-04-07 06:29:55 +00:00
Gary V. Vaughan
0aa2e304c6
Getting the value of ltdldatafiles from a submake was not
...
portable, and had problems with GNU make-3.80 at least. This
changeset pulls the installation rules for libtoolize's copy of
the libltdl sources out of libltdl/Makefile.am so that
ltdldatafiles is defined in the same Makefile that uses it. Also,
this makes a start at cleaning up libltdl/Makefile.am so that it
is useful in a package that uses `libtoolize --ltdl':
* libltdl/loaders/Makefile.am: Removed entirely.
* libltdl/Makefile.am (dlopen.la, dld_link.la, dyld.la)
(load_add_on.la, loadlibrary.la, shl_load.la): All built from here
now that the loaders submake has gone.
(show-ltdldatafiles): Removed. No longer required.
(ltdldatadir, ltdldatafiles, install-local): Moved from here...
* Makefile.am (ltdldatadir, ltdldatafiles, install-local): ..to
here.
(libtoolize): Substitute $(ltdldatafiles) directly without calling
make to get the value from libltdl/Makefile.
2005-04-04 12:12:25 +00:00
Mike Stump
d92270911a
* m4/libtool.m4 (LT_CMD_MAX_LEN) [ netbsd, freebsd, openbsd,
...
darwin, dragonfly]: Use 3/4 of argmax, instead of 1/4.
2005-04-01 09:27:17 +00:00
Ralf Wildenhues
8637ab4420
* m4/libtool.m4 (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG):
...
Set $cc_basename.
2005-03-28 09:32:59 +00:00
Ralf Wildenhues
1652028e3b
* m4/libtool.m4, m4/ltdl.m4: Indentation and quoting cleanup.
2005-03-22 16:55:14 +00:00
Ralf Wildenhues
dcfa05980f
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [solaris]: Use ${wlarc}
...
and set to empty when using $LD for linking. Fixes regression
introduced in 2004-11-17.
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> and
Пухальский Юрий Андреевич <pooh@cryptopro.ru>.
2005-03-22 07:39:44 +00:00
Ralf Wildenhues
2803fc9eeb
* m4/libtool.m4 (_LT_SETUP, _LT_LANG_CXX_CONFIG, * _LT_LANG_F77_CONFIG):
...
For matching compiler names: Pick only first word, allow leading white
space..
* tests/sh.test: ..and test for missing `*' at end of patterns.
2005-03-21 17:59:39 +00:00
Peter Ekberg
7d29c2d785
* m4/libtool.m4 (_LT_LINKER_SHLIBS) [ irix5, irix6, nonstopux ]:
...
Test if it is possible to use the -exports_file linker option on
irix with gcc, as the gcc specs file may include a -hidden_symbol
option that is clashing with the -exports_file option.
See this gcc bugzilla entry for further details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15288
* THANKS: Update.
2005-03-20 07:15:21 +00:00
Peter O'Gorman
30e36fa5a9
* m4/libtool.m4: The compiler can be a program name with args, so
...
always check cc_basename against compiler name and a wildcard.
Also, drop unnecessary quotes in `case' argument.
2005-03-18 15:32:14 +00:00
Ralf Wildenhues
b4501c381d
* config/general.m4sh: unconditionally set IFS, and set it
...
to the one true right sequence: space, tab, newline.
* m4/libtool.m4: remove IFS setting and as_* namespace infringement.
2005-03-16 17:27:35 +00:00
Ralf Wildenhues
dd9a6330c7
* m4/libtool.m4 (_LT_CONFIG): Reset IFS to fix failure with ash.
2005-03-16 10:07:36 +00:00