Commit Graph

1724 Commits

Author SHA1 Message Date
Gary V. Vaughan
1082a7668f * libtool.m4 (_LT_AC_CHECK_DLFCN): Use the interrim new
AC_CHECK_HEADER with compiler rather than preprocessor.
(AC_LIBTOOL_SETUP): ...which was introduced in autoconf-2.56, so
we AC_PREREQ that version.
* ltdl.m4 (AC_WITH_LTDL, AC_LIB_LTDL, AC_LTDL_FUNC_ARGZ): Ditto.
2003-08-27 16:24:44 +00:00
Gary V. Vaughan
09e4e04138 Work around a bug in AU_ALIAS in CVS Autoconf that inserts a
newline just before AC_FD_CC, by hand updating:

* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): s/AC_FD_CC/AS_MESSAGE_LOG_FD/g.
2003-08-27 14:56:07 +00:00
Jim Pick
522aef6a38 Much as we have tried not to make it the callers' responsibility
to maintain an lt_dlrealloc function pointer, it is too difficult
to implement realloc as malloc/memcpy/free without knowing the
size of the original block.  rpl_realloc has been deprecated since
2002-10-30, but kaffe has real failures with that so it's time to
bite the bullet.  Caller gets to maintain lt_dlrealloc:

* NEWS (1.5.1): Updated.
* libltdl/ltdl.c (LT_DLREALLOC): Use lt_dlrealloc so the user can
update the function pointer to match lt_dlmalloc.
(lt_emalloc): Use lt_dlrealloc rather than hardcoding realloc.
* doc/libtool.texi (Libltdl interface): Describe lt_dlrealloc now
that it too has become part of the exported interface to libltdl.
2003-08-05 16:05:01 +00:00
Peter O'Gorman
9bfa9cf6b9 * libtool.m4 (darwin): Use "-undefined dynamic_lookup" if the
user set MACOSX_DEPLOYMENT_TARGET to 10.3 or greater.
* libltdl/ltdl.c (dyld): Save the error from the first lookup
to report in lt_dlerror(). Otherwise the error is always
"Symbol _foo not in /usr/lib/libSystem.dylib".
Thanks to Chris Zubrzycki for reporting this.
2003-08-01 19:08:14 +00:00
Robert Boehne
f6f942758d * libltdl/ltdl.h: Tweak the header to support visual studio. 2003-08-01 18:31:55 +00:00
Greg Eisenhauer
40462e712c 2003-07-31 Greg Eisenhauer <eisen@cc.gatech.edu>
* ltmain.in: Provide absolute paths for dlopen and dlpreopen
	files in generating uninstalled libtool libraries.
	* mdemo2/main.c, mdemo2/Makefile.am, mdemo2/README,
	mdemo2/configure.ac, mdemo2/.cvsignore, mdemo/mlib.c,
	tests/mdemo2-conf.test, tests/mdemo2-exec.test,
	tests/mdemo2-make.test: New files for testing above feature.
	* configure.ac, bootstrap, tests/Makefile.am: Accomodate new
	test directory.
	* mdemo/Makefile.am: Build libmlib.la for mdemo2 tests.
2003-07-31 20:44:29 +00:00
Greg Eisenhauer
8d844b3f48 * ltmain.in: Provide absolute paths for dlopen and dlpreopen
files in generating uninstalled libtool libraries.
* mdemo2/main.c, mdemo2/Makefile.am, mdemo2/README,
mdemo2/configure.ac, mdemo2/.cvsignore, mdemo/mlib.c,
tests/mdemo2-conf.test, tests/mdemo2-exec.test,
tests/mdemo2-make.test: New files for testing above feature.
* configure.ac, bootstrap, tests/Makefile.am: Accomodate new
test directory.
* mdemo/Makefile.am: Build libmlib.la for mdemo2 tests.
2003-07-31 20:41:35 +00:00
Tony Wyatt
bda2afd972 *** empty log message *** 2003-07-30 23:00:48 +00:00
Tony Wyatt
bcce0fae1c * libtool.m4: Remove parentheses around finish_eval part which
broke on amigaos pdksh.
2003-07-30 21:56:08 +00:00
Christiaan Welvaart
4b6405a65a * tests/dryrun.test: Ignore any 'total' line from "ls -l" output. 2003-07-30 18:41:31 +00:00
Albert Chin-A-Young
1dc12d937c * libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++
template files.
2003-07-30 18:40:25 +00:00
Robert Millan
76768eda80 * libtool.m4: More fixes for the new GNU/FreeBSD triplet. 2003-07-30 15:11:17 +00:00
Bob Friesenhahn
cd56ac9a85 * config.guess, config.sub: Synchronized from ftp.gnu.org since
Robert Millan's patch requires it.


* libtool.m4: Fixed to use the new GNU/FreeBSD triplet.
* ltdl.m4: Fixed to use the new GNU/FreeBSD triplet.
* ltmain.in: Remove GNU/FreeBSD cases, which are no longer needed.
2003-07-15 00:05:21 +00:00
Andreas Schwab
5d478ee2f6 * libtool.m4 (_LT_AC_LOCK): Also match powerpc64-*linux* in
addition to ppc64-*linux*.  From Markus Meissner
<meissner@suse.de>.
2003-07-14 22:51:59 +00:00
Dalibor Topic
11cd33d029 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): For AmigaOS with pdksh,
set the maximum command line length to 8K since otherwise the test
takes over an hour to run.
2003-07-14 21:00:32 +00:00
Alexandre Oliva
139fb24af0 * libtool.m4: Replace mis-uses of path with pathname.
(AC_PROG_LD_GNU): Don't quote $LD when running it.
(_LT_AC_LANG_CXX_CONFIG): Use -nostdlib also when linking with g++
and non-GNU ld.
2003-06-26 06:55:19 +00:00
Gary V. Vaughan
102060efb2 * libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to
ensure $SED is set by the time it is used.
2003-06-11 16:33:49 +00:00
Gary V. Vaughan
2ce5f5b5e8 * ChangeLog: Restore missing entries from 2003-04-22.
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all
mips*-linux* variants.


* libtool.m4 Switch on $CC and add paterns to cases.


* libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
value of shlibpath_overrides_runpath is used in the HARDCODE
test and is set in the DYNAMIC_LINKER test.
* ltmain.in [darwin]: We never need to relink on darwin.


* libtool.m4: Switch on $CC and add patterns to cases.
2003-06-11 15:09:24 +00:00
Gary V. Vaughan
1b8c7b2439 * NEWS: Sychronised from branch-1-5. 2003-06-11 14:23:41 +00:00
Benjamin Reed
80983ca528 * ltmain.in: search libraries in the order of preference, rather
than picking .la's even if they're in a less preferred directory.
2003-06-03 18:20:37 +00:00
Robert Millan
b37c4c3430 * ltdl.m4: Add support for GNU/FreeBSD.
* ltmain.in: Add support for GNU/FreeBSD.
2003-06-03 18:14:08 +00:00
Albert Chin-A-Young
71e3aa326e * libtool.m4: No need to use sed to remove leading comma when
appending to $tagnames.
2003-06-03 17:31:52 +00:00
Albert Chin-A-Young
57c1e5d6dc * tests/defs, 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:
Pass build system type to tests to support environment
where default system type not equal to build system type
(eg. 64-bit HP-UX).
2003-06-03 15:44:14 +00:00
Peter O'Gorman
90233b7fa9 * libtool.m4 (darwin): Remove checks for Apple-specific gcc.
* libltdl/ltdl.c (HAVE_MACH_O_DYLD_H): #define
__private_extern__ for fsf gcc.
* ltmain.in (darwin): Only add new paths to newlib_search_path.
2003-06-03 15:36:58 +00:00
Max Bowsher
e2b9104502 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Reorder cygwin's
system library search path.
2003-06-03 15:26:53 +00:00
Robert Boehne
8fb6d5a3c9 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match all qnx-nto
as recent config.guess returns a slightly different string.
* ltmain.in: Replace use of "od" with tr.
2003-06-02 04:42:34 +00:00
Gary V. Vaughan
a45bccc70d * libltdl/ltdl.c (argz_insert): Corrected an off by one error when
checking that before is not out of range.
2003-05-30 15:25:10 +00:00
Gary V. Vaughan
b6dc76b844 * libltdl/ltdl.c (lt_int_dyld_lib_install_name): Removed unused
variable mh1.
(sys_dyld_close): Removed unused variable size.
2003-05-30 15:21:46 +00:00
Bruno Haible
cf3a644d94 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for
GNU/FreeBSD.
2003-05-21 04:45:25 +00:00
Richard Dawe
c67e0b02be * doc/libtool.texi: Use @ifnottex instead of @ifinfo,
to allow production of HTML documentation using makeinfo.
2003-04-22 04:57:10 +00:00
Robert Boehne
ed8b88b246 * NEWS: Updated.
* configure.ac: Bumped version to 1.5a.

GNU libtool 1.5 was released.

* configure.ac: Bumped version to 1.5.
* NEWS: updated.
* README-alpha: Updated upload instructions.
* README: Changed typo in version description.
* config.guess, config.sub, texinfo.tex:  Synchronized from
ftp.gnu.org.
2003-04-15 05:48:18 +00:00
Alexandre Oliva
6a024456d4 * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on all
mips*-linux* variants.
2003-04-11 02:15:48 +00:00
Samuel Meder
24d6c1b8a3 * libtool.m4 Switch on $CC and add paterns to cases. 2003-04-10 03:49:44 +00:00
Peter O'Gorman
40369e4a7b * libtool.m4: Move the AC_LIBTOOL_SYS_DYNAMIC_LINKER check
to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, becuase the
value of shlibpath_overrides_runpath is used in the HARDCODE
test and is set in the DYNAMIC_LINKER test.
* ltmain.in(darwin): We never need to relink on darwin.
2003-04-09 17:54:06 +00:00
Samuel Meder
98dab60b5c * libtool.m4 Switch on basename $CC not $CC 2003-04-09 16:32:12 +00:00
Peter O'Gorman
d0a64f0b50 * libtool.m4: if ZSH_VERSION is set then setopt NO_GLOB_SUBST so
libtool works. Remove zsh echo test code, don't bother checking
for zsh anymore in the darwin archive_expsym_cmds.
2003-04-05 19:32:58 +00:00
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