Commit Graph

1788 Commits

Author SHA1 Message Date
Allan Sandfeld Jensen
34477dc333 * libtool.m4: Switch on $CC not $cc_basename. 2003-04-05 19:30:34 +00:00
Robert Boehne
4526a66edd * tests/defs: Quote $DJGPP to prevent problems with some shells.
Pointed out by Albert Chin <libtool@thewrittenword.com>
2003-04-03 05:45:22 +00:00
Peter O'Gorman
a7fd37b420 * libtool.m4: Fix the echo test which I broke earlier.
* ltmain.in: Make DESTDIR work on darwin, don't use otool.
2003-04-02 16:44:38 +00:00
Keith Packard
a2ae9334a9 Fixed typo. 2003-03-31 17:36:26 +00:00
Keith Packard
ba98d73f18 * ltmain.in: New flag -version-number to be used for maintaining
compatability with a previously non-Libtool versioning scheme.
* doc/libtool.texi: Document it.
2003-03-31 17:36:01 +00:00
Naofumi Yasufuku
363b0083e0 * ltmain.in (win32_libid): Fixed sed expression error in
win32_nmres evaluation.
2003-03-31 16:06:45 +00:00
Albert Chin
b73fbd17b3 * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
variable directly down to the linker.
Reported by Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>.
2003-03-31 15:44:14 +00:00
Richard Dawe
b9f8f1036e * Makefile.am: Define CONF_SUBDIRS.
* tests/defs: Set CONFIG_SITE to /nonexistent, except on DJGPP,
which requires its config.site, to work correctly.
* tests/cdemo-conf.test, tests/cdemo-shared.test,
tests/cdemo-static.test, tests/demo-conf.test,
tests/demo-nofast.test, tests/demo-nopic.test,
tests/demo-pic.test, tests/demo-shared.test,
tests/demo-static.test, tests/depdemo-conf.test,
tests/depdemo-nofast.test, tests/depdemo-shared.test,
tests/depdemo-static.test, tests/f77demo-conf.test,
tests/f77demo-shared.test, tests/f77demo-static.test,
tests/mdemo-conf.test, tests/mdemo-shared.test,
tests/mdemo-static.test, tests/pdemo-conf.test,
tests/tagdemo-conf.test, tests/tagdemo-shared.test,
tests/tagdemo-static.test: Don't set CONFIG_SITE, now that
tests/defs sets it.
* tests/cdemo-exec.test, tests/demo-exec.test,
tests/demo-inst.test, tests/depdemo-exec.test,
tests/depdemo-inst.test, tests/f77demo-exec.test,
tests/mdemo-exec.test, tests/mdemo-inst.test,
tests/pdemo-exec.test, tests/pdemo-inst.test,
tests/tagdemo-exec.test: When checking for the existence
of executables, use the executable file extension from $EXEEXT.
2003-03-29 05:06:46 +00:00
Peter O'Gorman
eeb3d9cc7c * libltdl/ltdl.c (dyld): Remove some debug printf's, fix a bug.
* ltmain.in (darwin): Only link against shared libraries when doing
link_all_deplibs.
2003-03-29 04:09:00 +00:00
Robert Boehne
cd04eb7011 * bootstrap: Add f77demo to the directories that AUTOHEADER
is run in.
2003-03-25 23:53:38 +00:00
Wesley W. Terpstra
a986ae20e5 * ltmain.in: Don't accumulate directory information in clean mode.
Include properly pathed wrapper script.
2003-03-22 06:46:07 +00:00
Peter O'Gorman
2a0c045721 * README: Remove "Important" information about patching automake.
* configure.ac: Fix misapplied patch in last commit
* libtool.m4 (darwin): Check compiler is apple gcc, add -single_module
support so that dyloading c++ shared libraries will work.
* libtool.m4 (_LT_AC_TAGCONFIG): Add test -n to the tests so that
it will work outside of libtool.
* doc/PLATFORMS: Add darwin
* f77demo/configure.ac: Add config.h which was misapplied previously.
2003-03-22 06:34:27 +00:00
Peter O'Gorman
97ade8120f * ltmain.in: Always use $echo not echo for consistency.
Changes for darwin building. Warn if linking against libs linked
with -module. Use module_cmds if available and building a module,
move convenience double lib check,
* libltdl/ltdl.c: ltdl support for darwin (first blush)
* libltdl/README: note that darwin is supported
* ltdl.m4: Changes for darwin, and for new shrext
* libtool.m4: Changed the way darwin builds stuff (make check passes)
added module_cmds, module_expsym_cmds and hardcode_automatic and put
them in the libtool script. check for zsh's removal of escapes. Allow
libraries to be stripped on darwin.
* TODO: Remove the todo about zsh's removal of excapes. note that zsh
echo works perfectly well, eval is screwed up. Seems to be fixed in
latest zsh.
* THANKS: added self :)
* f77demo/configure.ac: Use config.h or it doesn't work.
2003-03-20 20:24:21 +00:00
Robert Boehne
49f2fd2f72 * libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that
adds tags to the libtool script so that they won't run when not
needed.
* configure.ac: Set F77 to no when no Fortran compiler is found.
2003-03-20 18:02:05 +00:00
Charles Wilson
1eadbc5376 * ltmain.in (win32_libid): use $SED, not head. 2003-03-17 00:52:48 +00:00
Alexandre Oliva
ba8c5e6f00 * libtool.m4 (AC_PROG_LD): Use $CC instead of GCC.
(_LT_AC_LANG_CXX_CONFIG): Preserve variables used by AC_PROG_LD,
and reset them for a C++ environment.  Use the with_gnu_ld setting
from AC_PROG_LD.
2003-03-02 10:13:46 +00:00
Ralph Schleicher
859d6cacc0 * ltmain.in: Only append a dot to the wrapper script when
building on cygwin/MSYS (check for $build, not $host).
2003-02-28 15:27:35 +00:00
Samuel Meder
9bf3d0dd98 * libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64
Linux.
2003-02-28 03:01:33 +00:00
Benjamin Reed
93b66411ca * THANKS: Added people who have submitted 3 or more patches
to libtool to the THANKS file.
* README: Added notes about the Darwin (MacOSX) support.
2003-02-28 02:57:07 +00:00
Bob McElrath
98eaee035f * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for
the Compaq C compiler for Alpha Linux.
2003-02-26 07:01:40 +00:00
Benjamin Reed
f5b73023e8 * libtool.m4 (darwin): Disable hardcoding library paths to
make relinking unnecessary.
2003-02-26 04:26:10 +00:00
Robert Boehne
65c07ebba9 * libltdl/configure.ac: Use AC_CONFIG_AUX_DIR([.]) to place
auxilary files in the libltdl directory.
* Makefile.am: Add to the ltmain.sh rule to copy it into the
libltdl subdirectory.
* bootstrap: Explicitly handle ltmain.sh in libltdl, and pass
--copy to automake.
2003-02-25 00:30:28 +00:00
Ralph Schleicher
61fddef7f4 * libtool.m4 (AC_LIBTOOL_SETUP): Check for ar. 2003-02-24 23:49:07 +00:00
Peter O'Gorman
cd9876b418 * libtool.m4 (darwin): Revamp darwin platform support.
* ltdl.m4 (darwin): Support dlcompat if found.
* ltmain.in: Make sure ranlib is run if needed when piecewise
linking.
2003-02-23 23:49:34 +00:00
Alexandre Duret-Lutz
02d4bdf39e * ltmain.in (--help): Show mailing-address for bug reports.
(--version): Mention only the most recent copyright year.
* libtoolize.in (--help): Show mailing-address for bug reports.
(--version): Mention only the most recent copyright year.
2003-02-23 16:15:49 +00:00
Alexandre Oliva
aa2ef657b5 * libtool.m4: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
2003-02-19 23:29:40 +00:00
Alexandre Oliva
097ba484d1 * libtool.m4: Use linux version_type on IRIX with GNU ld.
Prefix -soname, -set_version and their arguments with ${wl}.  Add
-melf* linker scripts to LD, and use them to determine libsuff,
shlibsuff and libmagic.
2003-02-19 23:27:46 +00:00
Allan Sandfeld Jensen
9a25ee0157 * libtool.m4: Intel icc fixups for version 7.0. 2003-02-18 05:15:03 +00:00
Ralph Schleicher
72dd3b472d * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Prepend a dot to
the value of the shrext (aka shared_ext) variable and delete it
from the library_names_spec and soname_spec definitions.  That
way the user can omit the shared library suffix by setting it
to the empty string.
(AC_LIBTOOL_LANG_CXX_CONFIG): Strengthen renaming commands for
the KCC compiler.
* doc/libtool.texi (Link mode): Update the manual.
2003-02-17 21:14:24 +00:00
Charles Wilson
709bbb1731 * ltmain.in (win32_libid): Rewritten to improve speed. 2003-02-17 18:55:45 +00:00
Richard Dawe
9673b55453 * libtoolize.in: Use the program found by AC_PROG_LN_S
to create symlinks.
2003-02-12 05:54:20 +00:00
Jan Kratochvil
840a6c4903 * ltmain.in: Handle duplicate object file names when performing
piecewise archive linking by renaming object files when needed.
2003-02-08 16:43:00 +00:00
Robert Boehne
e3c603ee55 * libtool.m4 (AC_CHECK_LIBM): Search for a real symbol in
the math library rather than 'main', it causes problems for
C++ compilers with certain Auto* tools.
(AC_LIBLTDL_INSTALLABLE): ditto.
2003-02-06 04:51:20 +00:00
Christian Cornelssen
306c939a38 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG)
(AC_LIBTOOL_PROG_LD_SHLIBS): Rewrite printf commands so
that the format string cannot be mistaken as an option.
Reported by Martin MOKREJS.
2003-02-05 07:03:55 +00:00
Robert Boehne
976b3c3e34 * libtool.m4: Modify the sys_lib_search_path_spec to allow
for either native sed or GNU sed to be used.
2003-02-05 06:58:45 +00:00
Nick Hudson
f716de6648 * libtool.m4: don't use -nodefaultlibs in archive_commands
or archive_expsym_commands on NetBSD.
2003-02-04 15:15:45 +00:00
Albert Chin-A-Young
9f64766d0f * libtool.m4: Change setting of archive_cmds_need_lc
so that it doesn't overwrite the previous setting.
2003-02-04 15:08:34 +00:00
Albert Chin-A-Young
e7a2949557 * libtool.m4: Allow compiler variable, CC, CXX, etc. to
be a program name with arguments. Original version stripped
arguments for CC.
2003-01-29 04:57:52 +00:00
Charles Wilson
6ab1e4099d * ltmain.in: add code for a binary wrapper
to use with uninstalled executables on cygwin/mingw.
Make sure that --mode=clean gets shell wrapper and
binary wrapper.  When sourcing the shell wrapper,
invoke using a terminal `.' on cygwin/mingw to
avoid the automatic append-.exe behavior.
2003-01-29 04:53:18 +00:00
Albert Chin-A-Young
1f2222e418 * libtool.m4: Hardcode library paths into libraries on IRIX. 2003-01-28 22:34:27 +00:00
Robert Boehne
a122ac5319 * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Don't add -DPIC
for languages other than C and C++.
2003-01-19 00:18:06 +00:00
Albert Chin-A-Young
aeaa38d6ed * libtool.m4, ltmain.in: Add support for hppa*64* based on
a patch by Ross Alexander <ross.alexander@uk.neceur.com>.
Credit to Ross! Use +b to hardcode library runtime path.
Add new variable, $hardcode_libdir_flag_spec_ld, that
is equivalent to $hardcode_libdir_flag_spec but is used
when ld is used for linking. This works around having to
set wl=''.
2003-01-15 02:55:34 +00:00
Robert Boehne
4f7134ae45 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Revert an
accidental rearranging of dylib and so for darwin.
2003-01-12 07:04:27 +00:00
Robert Boehne
68e66c70d2 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Modify the
"-shrext" option so that is works properly under Darwin.
Modify the processing of 'gcc -print-search-dirs' under
Darwin to make it behave like GNU gcc does.
(AC_LIBTOOL_CONFIG): Single quote $shrext.
* ltimain.in: Expand shared_ext just before it is used
so that it can be conditional on the value of $module.
2003-01-11 05:52:49 +00:00
Benjamin Reed
7d9ab948d8 * ltmain.in [darwin]: disable lazy linking, needed
to resolve C++ global constructor issues
2003-01-01 01:57:47 +00:00
Ralph Schleicher
a393b5c0fd Fixed a few format problems and incorrect dates. 2002-12-31 05:46:43 +00:00
Ralph Schleicher
46ed70ab97 Rework by Robert Boehne <rboehne@gnu.org>
* ltmain.in: New link option -shrext.
* libtool.m4 (AC_LIBTOOL_CONFIG): New libtool variable shrext.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Replace all hard coded shared
library file name extensions in library_names_spec and
soname_spec with $shrext.
* doc/libtool.texi (Link mode): Document it.
2002-12-31 05:43:24 +00:00
Charles Wilson
45f1e8581a * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): modify
$archive_expsym_cmds to restore support for using
.def files via the -export-symbols switch.
(AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]): in both the [CXX]
branch and the default branch, improve $export_symbols_cmds
so that DATA symbols are properly  labelled.  In the default
branch, duplicate the _CXX_CONFIG correction for
$archive_expsym_cmds.
2002-12-31 05:28:47 +00:00
Charles Wilson
c3c2a90f1d * libtool.m4 (AC_LIBTOOL_RC): AC_PROG_RC doesn't exist --
but we do AC_DEFUN something called LT_AC_PROG_RC.
Call that instead.
2002-12-31 05:24:28 +00:00
Robert Boehne
e30c49e673 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Copy the section
for Darwin from AC_LIBTOOL_PROG_LD_SHLIBS so that the CXX
tag doesn't use the g++ defaults for the OS X compiler.
2002-12-31 05:19:00 +00:00