Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Links to branch-1-5: | (view) (download) (annotate) |
| Sticky Tag: |
* libtool.m4 [darwin]: Really use _lt_dar_allow_undefined for allow_undefined_flag. Reported by Eric Hall <eric@darkart.com>.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): better handling of predefined values for lt_cv_sys_lib_search_path_spec and lt_cv_sys_lib_dlsearch_path_spec.
* libltdl/configure.ac: Bump package version. * README-alpha: Reminder to do it next time, too.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): [linux] <ifort>: Treat like icc and ecc, for fixed `-Wl,' and `-KPIC' settings.
* NEWS: Update. * configure.ac: Bump version to 1.5.27a.
Release GNU libtool 1.5.26. * NEWS: Update. * libtool.m4, ltdl.m4: Bump serial. * config.guess, config.sub, install-sh, texinfo.tex, INSTALL: Updated from external sources. * configure.ac: Bump version. * README-alpha: Add note about bumping serials and ltdl version.
Backport darwin support reorganization from HEAD. * libtool.m4 [darwin]: Check for nmedit and dsymutil with AC_CHECK_TOOL, use -single_module by default (can be turned off with the -multi-module linker flag or by setting the LT_MULTI_MODULE environment variable. If it is available use -exported_symbols_list instead of nmedit to remove symbols. * ltmain.in [darwin]: Use -single_module by default.
* doc/Makefile.am, doc/notes.texi, doc/libtool.texi: Move the platform specific notes to notes.texi and generate notes.txt. Reported by Tim Rice
Search the compiler path too. * libtool.m4 (compiler_lib_search_dirs): New variable. * ltmain.in: Use it. Reported by Maynard Johnson
* doc/libtool.texi: Fixup Notes. * README: Delete notes.
* doc/libtool/texi: Backport notes.texi from HEAD.
* libtool.m4 (sys_lib_search_path_spec, sys_lib_dlsearch_path_spec): Allow for a cache variable lt_cv_sys_lib... to set these at configure time.
* ltmain.in [darwin]: look in libdir for dependent libraries, the .la file may have been moved. Reported by Benjamin Reed <ranger@befunk.com>
* ltmain.in (lt_env): New variable. Use it when running commands.
Backport ISO C++ support from HEAD, 2006-03-17 and 2005-09-12 patches. * tagdemo/configure.ac (HAVE_NAMESPACES, HAVE_IOSTREAM): New tests for ISO C++ features. Reimplementation of similar macros from the autoconf archive. * tagdemo/foo.cpp, tagdemo/main.cpp: Adjusted. Provide dummy `std' namespace for the HPPA C++ compiler.
* Makefile.am (fetch): Update to match upstream git sources. Pull `INSTALL' from gnulib instead of from Autoconf.
* doc/notes.texi: Mention AIX binutils deficiency for C++ code. Report by Rainer Tammer. Suggest using bash for configure. Hint to runtimelinking.
* ltmain.in (link mode): Fix warning about -l and -L for archives and objects as output, to not trigger for *.la files. Non-convenience archives are diagnosed later on.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) <exclude_expsyms>: Also exclude `_GLOBAL__F[ID]_.*'. Also set for the C++ tag. Fixes esp. demo/helldl build failure with GCC on AIX. Report by Rainer Tammer.
* mdemo/main.c: Include string.h, for strrchr. Report by Rainer Tammer. * f77demo/cprogram.c: Include stdio.h, for printf. * f77demo/fooc.c: Likewise.
* config.guess, config.sub: Updated from external sources.
Support AIX 6.1. * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, _LT_AC_LANG_C_CONFIG) (_LT_AC_LANG_CXX_CONFIG, _LT_AC_LANG_F77_CONFIG) (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS): Adjust case patterns to match AIX 6 through 9 as well. * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise. * NEWS: Update. * THANKS: Update.
* NEWS, libtool.m4, ltmain.in: Bump copyright years.
* doc/libtool.texi (Linking executables): Reorder paragraphs.
Avoid mixing functions and data pointers in callback functions. * libltdl/ltdl.c (file_worker_func): New type. (lt_dlforeachfile): Instead of passing a function pointer as a data pointer, pass a pointer to a file_worker_func pointer. (foreach_callback_func): Adjust. Backport from 2006-08-31 fix in HEAD. Report by Maciej BliziĆski <maciej.blizinski@gmail.com>.
Avoid warnings about conftest.dSYM directories on Mac OS X Leopard. * libtool.m4 (_LT_LINKER_BOILERPLATE, AC_LIBTOOL_LINKER_OPTION) (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Remove conftest.dSYM directory. Report and analysis by Jeff Squyres and Peter O'Gorman.
* ltmain.in: Also sanitize `LANGUAGE'. (execute mode): Also restore `LANGUAGE', for old glibc. Report by Paul Eggert against Autoconf.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) <lt_cv_prog_compiler_pic_works>: Renamed from lt_prog_compiler_pic_works. <lt_cv_prog_compiler_static_works>: Renamed from lt_prog_compiler_static_works. * NEWS: Update.
* ltmain.in: Accept extension `.sx'. * tests/suffix.test: Test it.
* libltdl/ltdl.c (lt_dlcaller_get_data): Work even when no caller has set data.
* NEWS: Update.
* libltdl/ltdl.c (trim): Fix possible write beyond array bound.
* libltdl/ltdl.c (try_dlopen): Do not test array address of sys_dlsearch_path against NULL, rather test for nonempty contents. Coverity reports CID 148 and CID 149 via Jeff Squyres.
* README: Fix testing instructions. * README-alpha: Fix release instructions: build in a new tree.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): [ mingw, cygwin ] <GCJ>: Do not use -DDLL_EXPORT. Report by Ross Ridge <rridge@csclub.uwaterloo.ca>.
* libltdl/ltdl.c (try_dlopen): Avoid a strlen. When reading .la files, cope with files that are not newline-terminated.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_COMPILER_PIC): [ linux ]: Treat pgcpp as Portland Group C++ compiler as well.
* mdemo/main.c (test_dl, main): Try lt_dlopenext as well. * tests/mdemo-exec.test: Also try absolute library names. * THANKS: Update. Report by Brian Barrett.
* doc/fdl.texi: Update to GFDL 1.2. * doc/libtool.texi: Adjust. Put License in Appendix.
* libtool.m4 (_LT_AC_LOCK) [ solaris ]: Cater to old Sparc Solaris 7 ld that does not understand `-64'. Report by Vincent Lefevre <vincent@vinc17.org>.
* libtool.m4 (AC_LIBTOOL_DLOPEN_SELF): Correct a typo ("-dld"
instead of "-ldld").
* configure.ac: Bump version. * NEWS: Update.
GNU libtool 1.5.24 is released. * configure.ac: Bump version. * NEWS: Updated. * config.guess, config.sub, install-sh, texinfo.tex, INSTALL: Updated from external sources. * libtool.m4: Bump serial.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Ignore lines in ld.so.conf starting with 'hwcap '.
* ltmain.in (version-number) [irix]: Don't subtract 1 from major as it may be less than age.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to the test -n.
* libtool.m4 (LT_CMD_MAX_LEN): ensure stderr is redirected even when getconf does not exist.
* libtool.m4 (old_archive_cmds): Remove old_deplibs. Reported by Daniel Macks <dmacks@netspace.org>
* libtool.m4 (LT_CMD_MAX_LEN): Try using getconf to set lt_cv_sys_max_cmd_len.
* ltmain.in, libtool.m4 [darwin]: Only use ${wl} in verstring
with xlc.
* doc/libtool.texi (Libltdl interface): Fix typo.
* NEWS: Mention `-static-libtool-libs'.
* ltmain.in (link mode) <-no-install> [ darwin ]: Treat like `-no-fast-install', as we cannot hardcode. Report by Simon Josefsson.
* ltmain.in (execute mode): Do not unset locale variables that have not been set previously. Do not use uninitialized $lt_unset. Report by <deckrider@gmail.com>.
* doc/libtool.texi (Link mode) <-no-install>: Mention that this still generates a wrapper script on systems without hardcoding. * THANKS: Update. Report by Simon Josefsson.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS) [ openbsd ]: Add an explicit check for shared libraries support.
* libtool.m4 (AC_LIBTOOL_CONFIG) <fix_srcfile_path>: This variable needs escaping, too. Report by Akim Demaille.
* mdemo/Makefile.am (libmlib_la_LDFLAGS): Add `-export-symbols-regex ".*"' because the convenience libltdl uses export markers and thus turns off autoexport on w32. Fixes test failures for Cygwin and MinGW. Bug analysis by Charles Wilson.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, _LT_AC_LANG_CXX_CONFIG) (AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC) (AC_LIBTOOL_PROG_LD_SHLIBS) [ interix ]: When matching for interix, accept version range [3-9] instead of 3. * NEWS: Update. Report by Martin Koeppe <mkoeppe@gmx.de>.
* tests/dryrun.test: ls -l in MSYS sometimes shows year, not time, for really fresh files. Add sleep 1 calls at strategic places. Fixes test failure on MinGW.
* configure.ac: Bump version. * NEWS: Updated.
GNU libtool 1.5.23b is released. * configure.ac: Bump version. Adjust copyright years. * NEWS: Updated. * config.guess, config.sub, install-sh, texinfo.tex, INSTALL: Updated from external sources. * libtool.m4: Bump serial. * ltdl.m4: Likewise. Adjust copyright years. * libltdl/Makefile.am: Bump library revision.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ linux ] <whole_archive_flag_spec>: For Sun C/C++ 5.9, do not add /dev/null as dummy object, it fails with GNU ld version 2.16.91.0.7-amd-sles9. Report by Terry D. Dontje. * THANKS: Update.
* libtool.m4 (_AS_TEST_PREPARE, AS_EXECUTABLE_P): m4_defun these macros, if undefined, with modified copies from Autoconf 2.59. (LT_AC_PROG_SED): Use AS_EXECUTABLE_P, not $as_executable_p, this is an internal Autoconf detail.
* doc/libtool.texi: Update copyright years.
* libltdl/ltdl.h (LT_CONC) [_AIX]: Use `##'. AIX 4.3.3 xlc won't define __STDC__ with -qlanglvl=extc89.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE) (_LT_AC_SYS_LIBPATH_AIX, AC_LIBTOOL_LINKER_OPTION) (AC_LIBTOOL_PROG_CC_C_O, AC_LIBTOOL_SYS_DYNAMIC_LINKER) (_LT_AC_TAGCONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) (AC_LIBTOOL_PROG_LD_SHLIBS): Require LT_AC_PROG_SED. * THANKS: Update. Report and initial patch by Maciej W. Rozycki.
* libltdl/ltdl.c (lt_dlexit): Fix my bogus backport of Dave Brolley's patch from CVS HEAD.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ] <archive_expsym_cmds>: Behave like Linux, so that --version-script is used for Hurd as well.
* NEWS: Update for Cygwin changes.
* libltdl/ltdl.c (lt_dlexit): Make sure that 'cur' is not NULL before checking that it is still in the list.
* ltmain.in (link mode): Pass through `-p' and `-fprofile-*' for GCC.
* libltdl/ltdl.c, libltdl/ltdl.h: Adjust copyright years.
* libltdl/ltdl.c (LT_GLOBAL_DATA) [__CYGWIN__]: Also define on Cygwin. (LT_READTEXT_MODE): Ensure proper textmode fopen is used on Cygwin. * libltdl/ltdl.h (LT_SCOPE) [__CYGWIN__]: Also define on Cygwin.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ cygwin, mingw ] <export_symbols_cmds>: Avoid shell expansion of '/s/.*' through double expansion, in case there is a 'S:' drive. Report by Charles Wilson.
* doc/libtool.texi (Invoking libtool): Document `--tag'. (Tags): New node, backported from HEAD. (Other languages): Adjust. * NEWS: Update.
* libltdl/ltdl.c (lt_dlmutex_register): Fix usage of old unlock function. Also replace the seterror function. * THANKS: Update.
* doc/libtool.texi (Inter-library dependencies): Fix typo.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin, mingw]: Use `lib -OUT' rather than `lib /OUT' to avoid MSYS path translation mangling. Report by Christopher Hulbert. * THANKS: Update.
* ltmain.in (compile mode): Accept suffixes matching `[fF][09].', for Fortran. * tests/suffix.test: Also test f90, F90, f95, F95, f03, F03.
* doc/libtool.texi: Typo fixes. * NEWS: Likewise.
* ltmain.in (--version): Do not output leading blank line, added inadvertently after 1.5.22. Report by John Vandenberg <jayvdb@gmail.com>.
* NEWS: Account for recent fix.
* ltmain.in: Add -F* to flags that are passed to the linker. Reported by SIGOURE Benoit <sigoure.benoit@lrde.epita.fr>
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Improve multilib support. Reported by Kate Minola <kate01123@gmail.com> and others.
* libtool.m4 (AC_LIBTOOL_SYS_LIB_STRIP) [darwin]: Also set old_striplib.
* libltdl/ltdl.c (unload_deplibs, load_deplibs): Avoid memory leaks.
* ltmain.in (link mode): Pass through `--coverage', for GCC. Report by Rainer Keller <keller@hlrs.de>.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS) [k*bsd*-gnu]: kfreebsd*-gnu and knetbsd*-gnu behave like linux-gnu. * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise. * libtool.m4 (_LT_AC_LOCK) [x86_64-*kfreebsd*-gnu]: Add 32/64 bit bi-arch support. * NEWS: Update.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ mingw, pw32 ]: If `file' is present, use `func_win32_libid' rather than `objdump -f', to facilitate cross-compilation. Reported by Pierre Ossman <ossman@cendio.se>.
* ltmain.in (execute mode): Also search the directory above `$objdir' for the argument of "-dlopen", as mentioned in the error message.
* libtool.m4 (AC_LIBTOOL_POSTDEP_PREDEP): Previous patch applies to linux too, with Sun compiler.
* libtool.m4 (AC_LIBTOOL_POSTDEP_PREDEP) [ solaris ]: Don't set $postdeps to "-lCstd -lCrun" if "-library=stlport4" set in CXXFLAGS as stlport4 C++ library incompatible with Cstd C++ library. Use '-library=Cstd -library=Crun' instead of '-lCstd -lCrun'.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): s/recognise/recognize/.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE): Rewrite to not use unchecked `printf', for old systems like SunOS 4.1. (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_LINKER_OPTION) (AC_LIBTOOL_PROG_CC_C_O, AC_LIBTOOL_PROG_LD_SHLIBS): Likewise. (AC_LIBTOOL_LANG_C_CONFIG): Adjust: use literal newlines in `lt_simple_compile_test_code' and `lt_simple_link_test_code'. (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG) (AC_LIBTOOL_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG): Likewise. Bug report by Bruce Becker and Mark Andrews.
* ltmain.in (link mode): Disregard `hardcode_libdir_flag_spec_ld' if we're using `$CC' to link. * libtool.m4 () [ hpux10, hpux11; hppa*64*, ia64* ] <hardcode_libdir_flag_spec_ld>: Removed. Reported by Roger While <simrw@sim-basis.de>.
* ltmain.in (link mode): Honor `-threads', similar to `-mt'. Report by Eric Paire <eric.paire@st.com>.
* ltmain.in: Convert *each* occurrence of `compile_command', `finalize_command', `relink_command', and `link_command', that can conceivably be longer than 4000 bytes, to newline- separated arguments before feeding to sed, to cater for sed implementations with limited line lengths. Convert back afterwards. * tests/link.test: Accommodate for trailing white space resulting from above change. This addresses an issue reported by Albert Chin on 2001-05-27: http://lists.gnu.org/archive/html/libtool/2001-05/msg00159.html
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ sco3.2v5.0.[024]* ]: Add missing case entry for these systems.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [ cygwin ]: define DLL_EXPORT for PIC objects on cygwin.
* libtool.m4 (LT_AC_PROG_SED): AC_SUBST([SED]) for compatibility with future autoconf release of AC_PROG_SED.
* ltmain.in (shell wrapper): Do not put `"$@"' in argument to $echo.
* libtoolize.in: Use just one `echo' for `--version' output instead of several `echo', to avoid `Broken pipe' errors. Reported by Behdad Esfahbod <behdad@cs.toronto.edu>.
* ltmain.in: Reset/unset not only LANG and LC_ALL, but also LC_CTYPE, LC_COLLATE, LC_MESSAGES. (execute mode): Restore them. Noted by Peter O'Gorman.
* tests/link-order.test: Take hardcode_direct into consideration when testing link order.
* libtool.m4 [ linux ] (AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC) (AC_LIBTOOL_PROG_LD_SHLIBS): Add support for Sun C 5.9, Sun C++ 5.9, and Sun Fortran 8.3 on GNU/Linux. * NEWS: Update.
* config.guess, config.sub: Update from external sources.
* libtool.m4 [ aix ] (AC_LIBTOOL_PROG_LD_SHLIBS) (AC_LIBTOOL_LANG_CXX_CONFIG): $hardcode_direct is set twice.
* ltmain.in (link mode): For version_type `none', we still need to set `current', `age', and `revision', so that our checks don't barf. The values won't be used later. Apparently reported by several people, several times, for BeOS. * NEWS, THANKS: Update.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ linux ]: Avoid warning when "parsing" `/etc/ld.so.conf' and empty `/etc/ld.so.conf.d'. Reported by Orion Poplawski <orion@cora.nwra.com>.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS) [ freebsd, dragonfly ]: Set libltdl_cv_sys_dlopen_deplibs to yes. Fixes excessive lt_dlopen times on these systems. * NEWS, THANKS: Update. Bug reported by Peter Jeremy <peterjeremy@optushome.com.au>, patch by Joerg Sonnenberger <joerg@netbsd.org>.
* ltmain.in (link mode) < -static-libtool-libs >: New option. * doc/libtool.texi (Link mode, Distributing libltdl): Document it. Suggested by Gary Kumfert <kumfert@llnl.gov>.
* libtool.m4 (LT_AC_PROG_SED): Do not forget to reset IFS even in case of empty `$PATH'.
* ltmain.in (link mode) [ openbsd, netbsd, dragonfly, .. ]: Fix 1.5.22 regression by commenting out the code to remove the uninstalled paths. It was never working, and it is not at the right place. A proper removal code is to follow. This regression was visible on OpenBSD, NetBSD, DragonFly, and other systems with hardcode_direct=yes. * NEWS, THANKS: Updated. Reported by Joerg Sonnenberger <joerg@netbsd.org> and Marc Espie <espie@nerim.net> and others.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ freebsd, dragonfly ]: Fix 1.5.22 regression caused by too strict $host_os match that stopped DragonFly from working. * NEWS, THANKS: Updated. Reported by Jeremy C. Reed <reed@reedmedia.net>, patch by Todd Vierling <tv@duh.org>.
* ltmain.in (link mode) [ linux ]: PGI: for `reload_cmds', we not only need to get rid of `$wl', but also turn comma into space so $LD understands whole_archive_flag_spec correctly.
* ltmain.in <startup, shell wrapper>: Add _AS_BOURNE_COMPATIBLE code from Autoconf, to fix issues with zsh and other shells. Reported by David GĂłmez Espinosa <david@pleyades.net>.
* ltmain.in (extracted_archives, extracted_serial): New globals. (func_extract_archives): Use them to rename extraction archives for linking against multiple convenience libraries with the same name. Reported by Carlo Contavalli <ccontavalli@commedia.it>.
* ltmain.in (link mode) < test_compile >: Fix a couple of instances where `test .. -ne ..' would possibly compare non-numbers. Clean up a bit.
* libtool.m4 [ solaris ] (AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_LD_SHLIBS) < whole_archive_flag_spec >: Fix this once and for all, for both the SUN compiler suite (cc/CC/f77/f90/f95) and GCC. Reported by Yuri Pukhalsky <pooh@cryptopro.ru>.
* cdemo/Makefile.am: Remove broken use of undocumented Automake variable `$(OBJECTS)'. * demo/Makefile.am, depdemo/Makefile.am: Likewise. * f77demo/Makefile.am, mdemo/Makefile.am: Likewise. * mdemo2/Makefile.am, pdemo/Makefile.am: Likewise. * tagdemo/Makefile.am: Likewise.
* ltmain.in (link mode): Fix logic for adding run paths to also add paths for installed libtool libraries in case `-static' is used.
* doc/libtool.texi (titlepage): Remove superfluous word.
* commit, mailnotify: Bump copyright years.
* THANKS: Move myself to contributor.
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Don't use semicolons
inside { } in sed scripts, as Posix says it's not portable.
* ltmain.in (func_win32_libid): Likewise.
* mailnotify, commit: Likewise.
Noted by Paul Eggert <eggert@cs.ucla.edu>.
* ltmain.in (compile mode): Also transform `.obj' correctly. Reported by George Bosilca <bosilca@cs.utk.edu>.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, AC_LIBTOOL_PROG_COMPILER_PIC): Added support for RDOS. * NEWS: Updated.
* libtool.m4, ltmain.in, libltdl/ltdl.c: Bump copyright years.
* libltdl/ltdl.c (LT_DLMUTEX_GETERROR): check if `lt_dlmutex_geterror_func' is set instead of `lt_dlmutex_seterror_func'.
* README-alpha: Another instance of anon cvs location.
* README-alpha: Update anon cvs location.
* configure.ac: Bump version. * NEWS: Updated.
GNU libtool 1.5.22 is released. * configure.ac: Bump version. * NEWS, THANKS: Updated. * config.guess, config.sub, install-sh, texinfo.tex: Updated from external sources. * libtool.m4, ltdl.m4: Bump serial. * libltdl/Makefile.am: Bump library revision.
* ltmain.in (func_mktempdir): New, backported from HEAD. (relink mode): Use it. Fixes potential denial of service through malicious other local user. Reported by James Kosin <jkosin@intcomgrp.com>.
* ltmain.in (link mode): Don't die if -L<relative/path> does not exist. Put in notinst_path though, so it won't end up in the installed .la file. (link mode): Really eliminate all temporary directories.
* ltmain.in <duplicate_deps, preserve_args, linknames>: Initialize properly.
* ltmain.in (link mode): Move library search paths that coincide with paths to not yet installed libraries to the beginning of the library search list.
* libtool.m4 (AC_PROG_NM): Also look in /usr/ccs/bin/elf, for SCO. If we are not cross-compiling, but $ac_tool_prefix is set, also try an un-prefixed `nm'.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) <hardcode_shlibpath_var>: Initialize, to `unsupported'.
* ltmain.in: Change semantics of `--tag=disable-static' and `--tag=disable-shared': The last one given wins now, both override the default setting inherited by other `--tag' arguments, even if passed later on the command line. Still make sure we do not disable both kinds by falling back to static libraries.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib' only.
* doc/libtool.texi: Fix some documentation typos.
* ltmain.in [darwin]: Don't add -framework. -arch, -isysroot to $compiler_flags if already in $CC with same arguments.
* ltmain.in: Preserve both parts of `--tag TAG', for relink_command.
* ltmain.in (func_extract_archives, compile mode, link mode): Use `$exit_status' rather than forbidden `$status'.
* ltmain.in: Fix typo introduced in dllsearchpath backport. <cwrappersource>: Undo line breaks in macro arguments. Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
* ltmain.in (link mode): Add missing $LTCFLAGS for a $LTCC. * libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create reloadable objects.
* libtool.m4: Fix comment typo. * tests/dryrun.test: Avoid `directory exists' warning.
* ltmain.in (link mode, cwrappersource): Backport fixes from CVS HEAD.
* ltmain.in (generate dlsyms): Backport of func_generate_dlsyms fixes from HEAD.
* ltmain.in (link mode): add foo/bin for every foo/lib in dllsearchpath when creating wrapper script. Fixes build-relink2 test failure. Backport of CVS HEAD 2004-10-13.
* libtool.m4 [aix] <archive_expsym_cmds> (AC_LIBTOOL_PROG_LD_SHLIBS, AC_LIBTOOL_LANG_CXX_CONFIG): Always move -bnoentry before $compiler_flags, so it can be overridden.
* ltmain.in (link mode): Allow GCC response files through.
* ltmain.in (link mode): Pass through -isysroot for cross architecture builds on darwin.
* ltmain.in (clean mode): Don't remove non-existent libfoo.lai.
* libtool.m4, ltmain.in: When calling $LTCC, pass default $CFLAGS through with $LTCFLAGS. Backport from HEAD 2004-09-05.
* ltmain.in (link mode): Use $pic_object as $non_pic_object if $non_pic_object=none. * NEWS: Updated. Missing backport from HEAD 2004-09-03 noted by Max Bowsher <maxb1@ukf.net>.
* ltmain.in (link mode): Pass through `-pg', for GCC. Reported by Tor Lillqvist <tml@iki.fi>.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) (AC_LIBTOOL_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set whole_archive_flag_spec to $convenience so the convenience libs are really added to the link cmdline. Missing backport from CVS HEAD 2004-11-17 noted by JĂžrgen Moth <jorgen.moth@uni-c.dk>.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) (AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_DEPLIBS_CHECK_METHOD) (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC) (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS) [ interix3 ]: Support for Interix/Microsoft Services for Unix. * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise. * NEWS: Updated.
* tests/link-order.test [ aix, interix ]: Skip command line grep. Reported by Thorsten Glaser <tg@66h.42h.de>.
* ltmain.in (finish mode): Fix a couple of $echo uses. Reported by Thorsten Glaser <tg@66h.42h.de>.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
* libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG): Removed `lt_prog_cc_shlib' cruft, not needed any more.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, AC_LIBTOOL_LANG_C_CONFIG) (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC) (AC_LIBTOOL_PROG_LD_SHLIBS) [ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware, OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support. * THANKS: Updated.
* tests/quote.test: Do not fail on harmless shell bug present in some ksh88 versions. Reported by Tim Rice <tim@multitalents.net> and others.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10 ]: Link with cc rather than ld (backport from HEAD).
* libltdl.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): `wl' is tagged here.
* libtool.m4 (AC_LIBTOOL_DLOPEN_SELF) (AC_LIBTOOL_PROG_COMPILER_PIC): Make sure `$wl' is properly expanded for tests involving `export_dynamic_flag_spec', `lt_prog_compiler_static'.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ freebsd ]: Fix shlibpath_overrides_runpath settings. Reported by Dave Benson <daveb@idealab.com>.
* ltmain.in (func_win32_libid): use $SED not sed.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ hpux10, hpux11 ] <hppa*64,ia64, aCC,g++>: Use C++ compiler for linking rather than ld.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Move setting of `variables_saved_for_relink'.. (AC_LIBTOOL_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var' and `runpath_var' have been set. Reported by Mike Frysinger <vapier@gentoo.org>.
* libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG): Move static_flag check.. (AC_LIBTOOL_PROG_COMPILER_PIC): ..here, so that both `lt_prog_compiler_static' have actually been set, and the check is applied to each tag.
* ltmain.in (link mode) [ sysv4*uw2*, unixware7* ]: Work around linker bug on older SCO systems.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10, hpux11 ]: hardcode_libdir_flag_spec and hardcode_minus_L are the same for hppa*64 and ia64*. Don't set hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you specify +b and -L, +b overrides what is set into DT_RPATH.
* libtool.m4 (_LT_AC_TRY_DLOPEN_SELF): lt_unknown is lt_dlunknown.
* libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG) (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG) (AC_LIBTOOL_LANG_GCJ_CONFIG): Only call AC_LIBTOOL_SYS_LIB_STRIP and AC_LIBTOOL_DLOPEN_SELF in the C case, and without the tag argument.
* libtool.m4: Fix comments.
* ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc, nor add it to deplibs. [*-*-sysv5*]: Ditto. [*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus `$arg'.
* THANKS: Updated.
* libtool.m4 (_LT_AC_LOCK) [ solaris ]: Add `-64' to $LD if necessary, to permit combining of several convenience libs without any further objects added. Reported by Brian Barrett <brbarret@open-mpi.org>.
* libtool.m4 (AC_LIBTOOL_DLOPEN_SELF): Use
`lt_prog_compile_static', not `link_static_flag'. Expand `$wl'
so expansion of `export_dynamic_flag_spec' works.
(_LT_AC_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
(AC_LIBTOOL_PROG_LD_SHLIBS) [ aix3 ]: Likewise.
(AC_LIBTOOL_PROG_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
* THANKS: Updated.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for SCO.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Set correct symcode values for the native nm on SCO platforms.
* ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms open dependency libraries when you dlopen a module.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_LD_SHLIBS) [ aix ]: Remove duplicate always_export_symbols=yes for AIX.
* ltmain.in (link mode): With `-static', only link statically against uninstalled libtool libraries. Fixes 1.5.x regression to match documented (and actual 1.4.x) behavior. * NEWS: Updated.
* libtoolize.in: Fail if libltdl files not present but `--ltdl' given. Reported by Troy Benjegerdes <hozer@hozed.org>.
* ltmain.in (link mode): When accepting -64, -mips[0-9], et. al. compiler flags, don't set compiler_flags only for GCC as the vendor compiler also requires this flag. Sync with HEAD. Reported by Donald Anderson <dda@ddanderson.com>.
* ltmain.in [darwin]: Don't check for "bundle" in file path. Reported by Christoph Egger <Christoph_Egger@gmx.de>.
* libltdl/ltdl.c (find_module): Check that dir is set. (load_deplibs): Don't free the user search paths too early.
* ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Remove bogus extra closing brackets.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ beos ]: Initial shared library support for C++.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Fix m4 quoting for lt_simple_link_test_code. Reported by Nicolas Joly <njoly@pasteur.fr>.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) (AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS) * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS) [ unixware7* | sysv5* ]: Get UnixWare 7.1.[34] and OpenServer 6 fully working. Improve other UnixWare versions a little.
* ltmain.in (func_win32_libid) [ cygwin, mingw ]: Robustify sed script to determine win32_libid_type. (link mode) [ mingw ]: Ignore `-lm'.
* libtool.m4 (AC_PROG_NM, AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_LD_SHLIBS): Add missing `;;' after case list.
* ltmain.in (clean mode): Clean up $dlname as well when cleaning an uninstalled libtool library. Fixes -mode=clean on Cygwin and MinGW to actually remove the dll when cleaning up an uninstalled library.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, AC_LIBTOOL_LANG_CXX_CONFIG): Split up --out-implib option for linker in separate args so that the MSYS path translation can do its magic on the provided path to the import library.
* ltmain.in (link mode): Allow some ARM gcc ABI flags through. Reported by Andrés Moré <more.andres@gmail.com>.
* libltdl/ltdl.c (lt_argz_insert): Work around newlib argz_insert bug. * libltdl/Makefile.am (libltdl_la_LDFLAGS): Bumped revision. Reported by Eric Blake <ebb9@byu.net>.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE) (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_LINKER_OPTION) (AC_LIBTOOL_PROG_CC_C_O): When comparing expected and actual compiler/linker output for warnings, weed out both empty lines as well as lines starting with possibly indented `+', to allow for shell debugging with `set -x'. Check the weeded instead of unweeded contents for emptiness.
* ltmain.in (link mode): Actually provide a useful error message. Fixes long-standing shameful user neglection. Reported by Martin Paljak <martin.paljak@gmail.com>.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) (AC_LIBTOOL_PROG_LD_SHLIBS) [ cygwin, mingw, pw32 ]: Use --enable-auto-image-base instead of a fixed image base address.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ sysv4*uw2*, sysv4.2uw2* ]: Fix my last checkin to really match the more special case before the general case. Reported by Stepan Kasal <kasal@ucw.cz>.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD) [ sysv5OpenUNIX8, sysv5UnixWare7, sysv5uw[78], unixware7, sysv4*uw2* ]: Match special cases before general case.
* libtool.m4 (old_postintall_cmds): chmod 644 before running ranlib. Reported by Gerald Pfeifer <gerald@pfeifer.com>
* configure.ac: Bump version. * NEWS: Updated.
GNU libtool 1.5.20 is released. * configure.ac: Bump version. * NEWS: Updated. * INSTALL, config.guess, config.sub, install-sh, doc/texinfo.tex: Updated from external sources. * libltdl/Makefile.am: Bump library revision.
* libltdl/m4/libtool.m4 (AC_LIBLTDL_INSTALLABLE): Fix the comment to not pretend that LIBLTDL and LTDLINCL are not AC_SUBSTed here.
* README, libtool.m4 [ solaris CC ]: Document issue with C++ standard libraries.
* libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not pretend that LIBLTDL and LTDLINCL are not AC_SUBSTed here. * doc/libtool.texi (Distributing libltdl): Update the documentation to match the advice given in HEAD. Don't tell the user they have to AC_SUBST again.
* ltmain.in (install mode): 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>.
* ltmain.in (cwrappersource): return 127 if exec failed.
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Send chmod warning to log.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ freebsd ]: Do not assume `aout' for modern FreeBSD by absence of deprecated `objformat'.
* libtool.m4 [sun, CC] (AC_LIBTOOL_LANG_CXX_CONFIG): Move postdeps override .. (AC_LIBTOOL_POSTDEP_PREDEP): ..here, so they actually override.
* ltmain.in (SP2NL, NL2SP): Simplify.
* ltmain.in (install mode) [ cygwin, mingw ]: Do not append a dot to a file name to source it, it breaks on cygwin managed mounts and is not necessary anywhere. Reported by Eric Blake <ebb9@byu.net>.
* Makefile.am, libltdl/Makefile.am: Install libltdl data files in correct order, by Automake rules. Really fixes ownership and timestamp problems. Reported by Peter Breitenlohner <peb@mppmu.mpg.de> and Charles Wilson <cygwin@cwilson.fastmail.fm>.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Set ac_ext to cpp, not cc.
* AUTHORS: Updated.
* ltmain.in (link mode): Ignore errors from expr when determining if piece-wise linking should be done.
* libltdl/ltdl.c (sys_wll_open): Set the error mode so that no dialog is popped up in case the file given to LoadLibrary is not a dll.
* ltmain.in (link mode): Properly remove the fake symbol line ": @PROGRAM " from the list of exported symbols.
* libtool.m4 (AC_LIBTOOL_LINKER_OPTION): Fix copy-paste bug, it is the linker that is tested.
* libltdl/ltdl.c (sys_wll_open): Revert commit mistake.
* ltmain.in (link mode) <lib>: Make sure skipped_export is set to colon if _some_ cmd of export_symbols_cmds is too long.
* 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>
* libltdl/Makefile.am (local-install-files): Have root own of installed files (but do not fail, for user installs).
* tests/defs (make): Undo bogus change I did, and also wrongly attributed to Derek R. Price.
* tests/defs (SED): Default variable contents to `sed'. Fixes false PASS of sh.test.
* ltmain.in: When a library is installed, dependent on a
convenience library, and it involves relinking, the object
files extracted from the convenience library are not removed
after the relink. This is a problem if you build as non-root,
install as root, then try to remove the build directory as
non-root; Clean up properly if relink fails; Change
"$realname"U to ${realname}T to be consistent.
Missing backport of 2004-03-24 patch reported against MirLibtool
by Marc Matteo <marcm@lectroid.net>.
* libtool.m4 (postinstall_cmds) [cygwin,mingw,pw32]: Make DLL executable after installing it.
* ltmain.in (install mode): 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>.
* libtool.m4 (_LT_AC_TRY_DLOPEN_SELF): Quieten configure output for corner cases on some BSDs. (AC_LIBTOOL_SYS_MAX_CMD_LEN): Another comment cleanup.
* config/ltmain.m4sh (func_extract_archives, func_mode_install), m4/libtool.m4 (AC_LIBTOOL_SETUP, AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_LIBTOOL_WIN32_DLL, AC_PROG_LD, AC_PROG_LD_GNU) (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS): Comment language, indentation, and backquote cleanup. * THANKS: Updated.
* ltmain.in (compile mode, link mode), libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH, _LT_AC_LOCK, AC_LIBTOOL_SYS_DYNAMIC_LINKER, AC_PATH_TOOL_PREFIX, AC_DEPLIBS_CHECK_METHOD, AC_LIBTOOL_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_LANG_F77_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS): Remove some unnecessary quotes.
* ltmain.in (link mode): Handle spaces in paths to executed programs. Quote path in error message.
* THANKS: Updated.
* ltmain.in [darwin]: Accept -arch flag.
* ltmain.in: Add fully-qualified paths to temp_rpath rather than unqualified paths in order to avoid possible errors when computing the fully-qualified path later.
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Fix sed script syntax to be portable.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS, AC_LIBTOOL_LANG_CXX_CONFIG): PGI also has pgf95. PGI static flag is `-Bstatic'. Remove harmless extra comma from whole_archive output.
* ltmain.in (compile mode): 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. (func_infer_tag, compile mode, link mode, install mode): 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>.
* doc/libtool.texi (Thread Safety in libltdl), libltdl/ltdl.c (argz_create_sep): Fix some typos.
* ltmain.in: Do not add installed static litool libraries to convenience, they are not convenience libraries. Reported by Chen-Mou Cheng <chenmou.cheng@gmail.com>
* doc/libtool.texi (Link mode): Document -objectlist. Noted by Richard Kreckel <Richard.Kreckel@ginac.de>.
* configure.ac: Bump version. * NEWS: Updated.
GNU libtool 1.5.18 is released. * configure.ac: Bump version. * NEWS: Updated. * config.guess, config.sub, install-sh, doc/texinfo.tex: Updated. * THANKS: Updated.
* doc/libtool.texi (Distributing libltdl): Add note that `libltdl/Makefile' should not be configured by toplevel `configure.ac'. Reported by Gideon Go <gideon.go@gmail.com>.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: PGI: Backport whole_archive changes from HEAD. Add $pic_flag to archive_cmds and archive_expsyms_cmds. Bug reported against LAM by Troy Telford <ttelford@lnxi.com>.
* THANKS: Updated.
* ltmain.in [darwin]: Pass -framework for executables too. Reported by Adam <adam@albedo.art.pl>
Commit ChangeLog entry as well.
* ltdl.m4 (all over): Quote all arguments to AC_DEFINE and AC_DEFINE_UNQUOTED consistently. Reported by Michael Koch <konqueror@gmx.de>, Riccardo Mottola <zuse@libero.it>, and Dalibor Topic <robilad@kaffe.org>.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set need_version to yes or no depending on the os release. Missing backport reported by Dalibor Topic <robilad@kaffe.org>.
Correct Roberto Bagnara's name.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does not understand t in regex. Reported by Tim Van Holder <tim.vanholder@gmail.com>.
* configure.ac, NEWS: Updated to 1.5.17a.
GNU libtool 1.5.16 is released.
* libtool.m4 (_LT_CC_BASENAME): Ignore `compile'.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_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.
* libtool.m4 (AC_LIBTOOL_LANG_F77_CONFIG) [ aix4, aix5 ]: Adjust logic to match the C case: Only disable static if not on ia64 nor runtimelinking.
* doc/libtool.texi: Get rid of overfull hboxes.
* libtool.m4 (_LT_CC_BASENAME): Use $echo, not $ECHO, for consistency.
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'.
Fix changelog entry.
* libtool.m4 (_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE): New macros: save warnings and boilerplate of simple compile/link tests. (AC_LIBTOOL_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG): Call. (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_LINKER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Fail only if nonempty warnings different from default compile/link. * NEWS: Update.
* tests/hardcode.test [solaris]: Use dumpstabs if available, to avoid false failure caused by debug section which contains command line (Solaris cc).
* libtoolize.in: Fix syntax typos.
* libtool.m4 (AC_LIBTOOL_LANG_GCJ_CONFIG): Add old_archive_cmds definition.
* libtool.m4 (_LT_CC_BASENAME): New macro to figure out $cc_basename. Skip ccache, distcc, purify, cmdline options, `$host_alias-' prefix. (AC_LIBTOOL_SETUP, AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS): Use. * NEWS: Update.
* libtool.m4 (AC_LIBTOOL_SETUP, AC_LIBTOOL_CONFIG): Fix definition of $Xsed.
* tests/linkorder.test: Move to * tests/link-order.test: New, with fixed permissions. * tests/Makefile.am: Adjust.
Peter O'Gorman <peter@pogma.com> * ltmain.in: Don't add files with the same base name to an archive; rename duplicates instead. (func_extract_an_archive): Remove section to deal with duplicate base names in an archive. * tests/func_extract_archives.test: remove. * tests/duplicate_members.test: new test. * tests/Makefile.am: Add new test, remove old.
Fix the order of -L flags added for libtool dep libs. * ltmain.in (link mode): Add to tmp_libs paths for libtool dep libs in reverse order as well. * tests/defs: Set $build to allow to detect cross-compiles. * tests/Makefile.am, tests/linkorder.test: New test.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [ netbsd, freebsd, openbsd, darwin, dragonfly]: Use 3/4 of argmax, instead of 1/4.
* libtool.m4 (AC_LIBTOOL_CONFIG): Typo.
* m4/libtool.m4 (AC_LIBTOOL_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG): Set $cc_basename.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Move linux entry to correct position, re-indent.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris]: Use ${wlarc}
and set to empty when using $LD for linking. Fixes regression
introduced in 2004-12-20.
Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> and
ĐŃŃ
алŃŃĐșĐžĐč ĐźŃĐžĐč ĐĐœĐŽŃДДĐČĐžŃ <pooh@cryptopro.ru>.
* libtool.m4 (AC_LIBTOOL_SETUP, AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS): For matching compiler names: Pick only first word, allow leading white space.. * tests/sh.test: ..and test for missing `*' at end of patterns.
* tests/demo-nopic.test: Enhance status output noted by Tom Burger <tvburger@few.vu.nl>.
* 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.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ solaris2.6+ ]: When linking convenience libraries on Solaris with the Sun C++ compiler, pass convenience libraries through to the linker with -Qoption between allextract/defaultextract. The Sun C++ compiler bundles -Qoption arguments so convenience libraries are linked with defaultextract otherwise. Backport of branch-2-0 patch dated 2004-03-14.
* ltmain.in: unconditionally set IFS, and set it to the one true right sequence: space, tab, newline.
* configure.ac, libltdl/configure.ac: s/##/dnl/ for comments that are meaningless in configure. Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
Allow special characters in source file names. Will break unless `-o target' is also given, which must not contain special characters. En passant, fix source file quoting broken for cygwin/MSVC.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Remove MAIN_ dependency when creating shared libraries with Portland pgf77.
* ltmain.in (link mode): Reword double negation in error message. Reported by Jesper Louis Andersen <jlouis@mongers.org>.
* libltdl/Makefile.am (install-data-local): Don't force v7 tar format with the `o' flag in create mode. Set the umask to 0 when untarring to avoid copied files taking their mode from the installer's umask. * libtoolize.m4sh (func_copy_cb): Ditto. Ignore errors from failed `cd' in the tar processes, since we may be running in dryrun mode. * libltdl/Makefile.am (ltdldatafiles): List all files needed to build a newly libtoolize installed libltdl directory even if the parent project doesn't use autoconf and automake. Reported by Noah Misch <noah@cs.caltech.edu>, Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG,
AC_LIBTOOL_PROG_LD_SHLIBS) [irix*, osf*]: Output -update_registry
information to ${output_objdir} directory, not ${objdir}.
${output_objdir} will work when a project has a single Makefile and
performs builds in subdirectories. ${objdir} expects the source in
the current directory, breaking single-Makefile builds.
* THANKS: Update.
* libtoolize.m4sh (func_copy_cb): Use tar chof to avoid symlink attacks. * libltdl/Makefile.am (install-data-local): Ditto.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): The Portland group's compiler does not pass --whole-archive. Move gnu ld check for the flag to the top so it can be overridden. (AC_LIBTOOL_LANG_CXX_CONFIG): Unset whole_archive_flag_spec for the portland group's c++ compiler too. Reported by Jeff Squyres <jsquyres@lam-mpi.org>
* Makefile.am (install-data-hook): Remove call to local-install-files, which is no longer required.
Using `libtoolize --copy --ltdl' was not preserving timestamps, so parts of the autoconf bootstrap would be rerun spuriously after the files had been copied into the source tree: * libtoolize.in: Use $tar to copy files to preserve timestamps. (tar): New default tar command. (cp): Use -p to try and preserve timestamps. * libltdl/Makefile.am (ltdldatadir): Installation destination for libltdl sources. (install-data-local): New rule to install libltdl tree with tar to preserve timestamps. (local-install-files): Removed. Reported by Jeff Squyres <jsquyres@lam-mpi.org>
Peter O'Gorman <peter@pogma.com> * Makefile.am (web-manual): Use makeinfo, not texi2html.
* ChangeLog: Upped version to 1.5.15a. * NEWS: Updated.
GNU libtool 1.5.14 is released. * ChangeLog: Upped version to 1.5.14. * NEWS: Updated. * config.guess, config.sub: Updated.
* ltmain.in, libtoolize.in: --version should show "(C) 2005". Reported by Paul Eggert <eggert@CS.UCLA.EDU>
* ltmain.in: Add -pthread like flags when linking executables too. Reported by Andreas Schwab <schwab@suse.de>
* configure.ac: Bump version to 1.5.13a * NEWS: Updated
Libtool-1.5.12 release * libltdl/Makefile.am: Bump library revision (I remembered!). * configure.ac: Bump version to 1.5.12. * NEWS: Updated * config.guess, config.sub: Updated.
* ltmain.in (func_extract_archives) [darwin]: This didn't actually work on a real fat archive, should do now. * tests/func_extract_archives.test: remove darwin fat tests which did not actually work.
* Makefile.am (web-manual): Make this target actually work.
* ltmain.in (link mode): Allow five digits in version-info
* NEWS: s/Linux/GNU &/.
* ltmain.in (link mode): With piecewise (partial) linking, fix intermediate output name for subdir-objects.
* ltmain.in (link mode): Backport yet another cygwin subdir fix (wrappersource).
Backported from branch-2-0: * ltmain.in (func_generate_dlsyms): addresses in _preloaded_symbols[] cannot go into .rdata section if symbols are DATA imported from DLL, on windows, because runtime relocations must happen. * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): build exports for symbols in .rdata sections
* README: Update.
* THANKS: Update.
* ltmain.in (link mode) [cygwin]: Fix broken subdir path computation, exposed by using `-dlopen self'. Fix broken sed script exposed by additionally using `-export-symbols FILE'.
* tests/quote.test: Backport fix for spurious failures on Cygwin.
* THANKS: Update.
* ltmain.in [darwin]: Don't add installed libs to temp_rpath when building executables on darwin, or other systems which use hardcode_automatic. It may break our wrapper scripts.
* ltmain.in, libtoolize.in: Exit with nonzero status on write failures with --help or --version or, in case of ltmain, --config or --features.
* NEWS: Update.
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ pw32, freebsd3.[01], freebsdelf3.[01] ] (AC_LIBTOOL_LANG_CXX_CONFIG) [ aix4.[012]*, freebsd[12] ] [ hpux9* with aCC solaris2.[0-5] ] (AC_LIBTOOL_PROG_LD_SHLIBS) [ linux with GNU ld < 2.11, aix4.[012]* ] (AC_LIBTOOL_LANG_GCJ_CONFIG): Fix [] quoting. Should fix various spurious failures.
* tests/func_extract_archives.test: Clean up afterwards.
* libtoolize.in, libltdl/ltdl.c: Nothing significant changed in 2005, backing out copyright update. Thanks Gary.
* config/ltmain.m4sh (func_win32_libid, func_infer_tag) (func_extract_an_archive, func_extract_archives): adjust to preferred function header layout.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Unicos 9 sed rejects empty parentheses as in 's/x()/1/'. (AC_LIBTOOL_PROG_COMPILER_PIC) [unicos*]: wl=-Wl,.
* tests/quote.test: Match link quoting against `"$wl"', not `-Wl,'.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS) [linux]: Update for Intel Compiler icc/icpc/ifort: add -i_dynamic and -nofor_main, if necessary. Simplify logic somewhat.
* AUTHORS, THANKS: Copy from cvs HEAD.
* ltmain.in, libtool.m4, libtoolize.in, libltdl/ltdl.c: Update copyright.
* ltmain.in [darwin]: Allow -framework foo through when given on the command line.
* tests/Makefile.am: also re-export CPP, F77, FFLAGS, CXX, CXXFLAGS, CXXCPP, and the value of SHELL as CONFIG_SHELL. Reported by Heinz Salzmann <heinz.salzmann@micronas.com>.
* NEWS, libtool.m4, ltmain.in [dragonfly]: Add support for DragonFly.
* ltmain.in [irix]: Preserve processor option for SGI Compiler (-r[0-9][0-9]*).
* libtool.m4 (AC_LIBTOOL_CONFIG) [mingw, cygwin, pw32, os2]: Add _LT_DECLs for host_os, build_alias, build and build_os. host_os and build were used in a few occasions in ltmain.in and affect above-mentioned systems, the others are added for symmetry.
* libltdl.c (try_dlopen): Fix memleak. Savannah BTS patch #3670 by Lennart Poettering.
* ltmain.in: Don't pass through compiler-like thread flags when using $LD to do the linking. Use compiler_flags instead. Reported by Mark_Andrews@isc.org.
* libtool.m4 (LT_CMD_MAX_LEN) [osf]: On Tru64 there could be a kernel panic when testing the maximum command line length if exec_disable_arg_limit=1. Don't do the tests to figure it out on *-osf*. Reported by Dr. Hans Ekkehard Plesser <hans.ekkehard.plesser@umb.no>
* libtool.m4 (AC_PROG_SED): Don't break test loop early.
* libtoolize.in: Back out copying `install-sh' by libtoolize. * doc/libtool.texi (Distributing): Mention that we distribute `install-sh', but that non-Automake users will have to copy it by themselves.
* libtoolize.in: Add datarootdir.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: While "parsing" /etc/ld.so.conf, skip comments. Reported by Jens Elkner <elkner@linofee.org>.
* m4/libtool.m4, m4/ltdl.m4: RMS says, 'I think the [license of autoconf macro files] should be: # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is # preserved.'.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ cygwin, mingw, pw32 ]: _LT_AC_TAGVAR missing for `ld_shlibs' and for `fix_srcfile_path'.
* ltmain.in (func_extract_archives): Not all shells grok `read -r' (unnecessary in this case). Reported by Ralf Menzel <menzel@ls6.cs.uni-dortmund.de>.
* ltmain.in: New variable quote_scanset to work around SunOS ksh `case' backslash-escaping bug: protect character class by variable expansion. Reported by Alexander Kurz <alexander.kurz@qsc.de>.
* libtoolize.in: Install `install-sh' as well, needed for configure .. * Makefile.am: .. install, update it. * NEWS, doc/libtool.texi (Distributing): .. document it. Reported by Ross Boylan <ross@biostat.ucsf.edu>.
* libtool.m4 [solaris] (AC_LIBTOOL_PROG_LD_SHLIBS): Use ${wl} for
whole_archive_flag_spec. Missing backport reported by Ralf Menzel
<menzel@ls6.cs.uni-dortmund.de>.
* tests/demo-nopic.test [solaris, sunos]: Skip test.
* ltmain.in: Fix typo `--mode' instead of `-mode' in warning. Reported by Georg Schwarz <georg.schwarz@freenet.de>.
* libtool.m4 [linux] (AC_LIBTOOL_PROG_COMPILER_PIC): match $cc_basename, not $CC against icc. Also, for symmetry match icpc* and ecpc* (ia64 version of icpc).
* libltdl/ltdl.c [cygwin, mingw] (opendir): Fix write of constant strings past end of buffer. (opendir, readdir): Fix read past end of buffer.
* README-alpha: Update list of non-Libtool-owned files.
* libltdl/ltdl.c (trim): Return error rather than do bogus null pointer arithmetic when parsing a malformed .la file.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS): Append -G to link command-line on AIX to honor -brtl on command-line (runtime linking). Already done for IBM C/C++ compilers.
* ltmain.in (func_extract_archives,func_extract_an_archive): On darwin, uniq can not take teh flags -cd together, thanks to Ralf for the fix, also ar does not accept N, so we use the fact that ar x libfoo.a foo.o will always extract the first foo.o in the archive and we then delete foo.o from the archive, which will also delete only the first foo.o, then rinse and repeat. * tests/func_extract_archives.test: Test this feature. * tests/Makefile.am: Add the test.
* ltmain.in: Preserve -model [arg] option, used with the Tru64 UNIX C++ compiler. This option selects the layout of C++ classes, name mangling, and exception handling.
* ltmain.in (func_mode_link): Fix quoting bug in last checkin.
* doc/libtool.texi (Reloadable objects): Fix typo, reported by rsc@merit.edu.
* ltmain.in: Allow some compiler/linker flags through unchecked. Backport of patch `2004-09-14 Albert Chin-A-Young' from branch-2-0.
* libtool.m4 [linux] (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC, AC_LIBTOOL_PROG_LD_SHLIBS), NEWS, THANKS: Support for Portland Group (aka "pgi") compilers.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [linux]: Interpret `include' statements in toplevel ld.so.conf file.
* tests/demo-nopic.test: Correctly skip hppa, x86_64, and s390*. Reported by Daniel Reed <djr@redhat.com>.
* config/ltmain.in (func_mode_link): When linking an installed libtool library on the command line using -lfoo we need to find the library in the search paths and add it's dependency_libs to the link in the conv pass so that any libtool libs listed are correctly expanded in the link pass.
* configure.ac: Bump version to 1.5.11a. * NEWS: ditto
GNU libtool 1.5.10 is released. * configure.ac: Bump version. * NEWS: Updated.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): The linker distinguishes data and code symbols on linux-gnu/ia64. Fixes multiple testsuite failures. Backport from 1.9c.
Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * demo/Makefile.am, pdemo/Makefile.am: Use per-target CFLAGS only for the Libtool-built objects, so that automake won't complain about missing AM_PROG_CC_C_O but still compile Libtool- and non-Libtool objects into different names.
* ltdl.c (memcpy, memmove): Fix pre-ANSI replacement functions to not use pointer-to-void arithmetic. (memmove): Fix infinite loop.
* libtool.m4: Fixes for the OpenBSD support
Revert last change
* demo/configure.ac pdemo/configure.ac: Add missing AM_PROG_CC_C_O to testsuite.
oops on the chlog dates
* demo/Makefile.am: Stop automake warning by defining libhell0_a_CFLAGS. * pdemo/Makefile.am: Ditto.
* configure.ac, libtool.m4: Ensure that a c++ compiler exists before checking for the c++ preprocessor. Apparently reported by multiple people, multiple times.
* libtool.m4 [GNU/linux] (AC_DEPLIBS_CHECK_METHOD): Cleanup, thanks to Daniel Reed.
* tests/demo-nopic.test: Do not run on x86_64 or s390*
* configure.ac: Bumped version to 1.5.9a. * NEWS: updated.
GNU libtool-1.5.8 is released. * NEWS: updated. * configure.ac: Bumped version to 1.5.8. * config.guess, config.sub: Synchronized from ftp.gnu.org.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Since CONFIG_SHELL may not actually be set, we should use SHELL here, also make darn sure that SHELL is set to something. Bug from Willem Jan Palenstijn <wpalenst@math.leidenuniv.nl>.
* ltmain.in: Allow some static libraries to be used in generating a shared library on NetBSD and OpenBSD. match-pattern_regex decides which are good.
Peter O'Gorman <peter@pogma.com> * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use sysctl to get the max cmd length on BSD* and darwin. Make sure that there is a safety factor too.
* libtool.m4 [darwin]: Don't use -all_load.
* libtool.m4 (LT_AC_PROG_SED): Set SED when running from cache as well.
* libtool.m4, ltmain.in: autoconf now says the best thing to do with CDPATH is to (unset CDPATH) >/dev/null 2>&1 && unset CDPATH, so do it.
* libtool.m4 [darwin]: $GREP is not defined here, use $EGREP. * ltmain.in (func_extract_archives): Backport func_extract_archives from cvs HEAD to reduce code size and enable the darwin fat archive extraction.
* libtool.m4, ltmain.in [darwin]: Backport xlc support from cvs HEAD.
* libtool.m4: Treat bsdi5* like bsdi4*.
* libtool.m4 [darwin](AC_PROG_LD_RELOAD_FLAG): Use $CC -nostdlib -r on darwin so that ld will not thin fat files.
* libtool.m4 [darwin]: Clean up darwin bits. Looks more normal now.
* libtool.m4: Fixes for the OpenBSD support
* libltdl/ltdl.h: Undo inadvertent changes from the last commit.
* ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh handle backslash quoting poorly, before doing anything else. * tests/defs: Likewise.
* libtool.m4: More improvements to OpenBSD support. * NEWS: Updated.
* libtool.m4 (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Insert space around = for a test and a comma between runpath_var and $1. Bug reported by Max Bowsher.
* ltmain.in: Fix problem with .libs/.libs/libfoo.so appearing on the link line, reported and fix confirmed by Dan S. Camper.
* m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Detect Intel C++ compiler version more idiomatically.
* m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Intel C++ compiler 8.0 and newer adds predep_objects and postdep_objects itself, so don't duplicate them in $archive_cmds and $archive_expsym_cmds. * NEWS: Updated. Reported by Roberto Bagnare <bagnara@cs.unipr.it>
* bootstrap: Delete acinclude.m4.
* Makefile.am (XDELTA_OPTIONS): Remove --pristine as that generates huge xdeltas.
* configure.ac: Bumped version to 1.5.7a. * NEWS: updated. Released 1.5.6
* configure.ac: Bumped version to 1.5.6. * NEWS: updated.
* libltdl/Makefile.am (local-install-files): remove $srcdir from file names, they may have been placed there by automake-1.8.
* ltdl.m4: Rename shrext to shrext_cmds here too.
* Makefile.am: One install-data-hook target is better than two.
* configure.ac: Bumped version to 1.5.5a. * NEWS: updated. Released 1.5.4
* configure.ac: Bumped version to 1.5.4. * NEWS: updated. * config.guess, config.sub, texinfo.tex: Synchronized from ftp.gnu.org.
* ltmain.in: Remove an extra eval concat_cmds that some idiot added. Fixes double eval on AIX, reported by Albert Chin and Uwe Moeller.
* ltmain.in <prog linkmode>: Always add -L options to $newlib_search_path instead of just in scan mode to ensure that non-libtool libraries in user-specified directories can be found.
* m4/libtool.m4: Remove newlines from lt_ld_extra, so variable can safely be stored in config.cache. * m4/libtool.m4: Rename ld_extra to lt_lt_extra to be consistent with HEAD.
* ltmain.in (link_all_deplibs,darwin): Link libraries in the correct order. Bug from Zachary Pincus <zpincus@stanford.edu>.
* ltmain.in: Use $EGREP, $GREP is not set.
* m4/ltmain.in: Only check precious_files_regex if it is not empty.
* libtool.m4: Disable building static libraries if building shared libraries on AIX 5L.
* bootstrap: Prune out my arch mirror dir before running amok through the tree with 'rm -rf'!
* Makefile.am (web-manual): Generate the web manual carefully so that links will still work when it is uploaded to gnu.org. * README-alpha: Note that this rule should be used at release time.
* commit (SHELL): Set it explicitly, incase some madman is using tcsh as their login shell :-b
* libtool.m4, ltmain.in: Rename shrext to shrext_cmds.
* commit (MKSTAMP): Look for mkstamp in the right place.
* ltmain.in, libtoolize.in, commit, mailnotify: Remove $SED from definitions of $dirname and $basename and prefix each use with it instead. Some shells (zsh) treat the expansion as a single command instead of a command with arguments. * mailnotify (func_sendmail): Look for sendmail in a
* config/mailnotify (func_sendmail): Look for sendmail in a couple of common non-PATH locations as well.
* commit, mailnotify: Use $progpath as for ltmain.in to work around the IRIX bug described below. Resynch with cvs-utils HEAD.
* ltmain.in (progpath): Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh is ksh but when the shell is invoked as "sh" and the current value of the _XPG environment variable is not equal to 1 (one), the special positional parameter $0, within a function call, is the name of the function. So, rather than using "$0" in functions, we set $progpath in the body and use that everywhere instead (incase of code refactoring later). (EXIT_SUCCESS, EXIT_FAILURE, EXIT_MISMATCH): For clarity.
* commit: Completely change CVS/Root->name sed script to actually work when :ext: is not shown.
* ltmain.in: Indentation fixes, typo fixes.
* config/mailnotify: New file for mailing commit notifications, imported from cvs-utils. * commit: Updated from cvs-utils and tweaked for libtool.
* m4/libtool.m4: Fix typo: testring -> teststring.
* Makefile.am (EXTRA_DIST): No need to specify config.guess and config.sub, all Automake versions know we want to distribute these.
* ltmain.in (infer_tag, win32_libid): Style changes. Rename infer_tag to func_infer_tag and win32_libid to func_win32_libid. * libtool.m4 (cygwin): rename win32_libid to func_win32_libid.
* ltmain.in (infer_tag): Move tag inferrence to a shell function. Also test $base_compile against $CC with escaped arguments. Bug reported by Geoff Keating <geoffk@apple.com>.
* Makefile.am (install-data-hook): Manually make config.guess and config.sub executable after they are installed as _DATA. We can't use _SCRIPTS because the various program name transforms may be applied to them. (pkgdata_DATA): List config.guess and config.sub here (pkgdata_SCRIPTS): instead of here.
* ltmain.in: Create temporary directory under a strict umask rather than running chmod afterwards, preventing a race condition where the directory could be replaced with a symbolic link in the time between the two commands.
Scott James Remnant <scott@netsplit.com> * libtool.m4 (_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS): Replace needless uses of egrep with grep as egrep may not exist, POSIX no longer mandates it. * ltmain.in: Replace use of 'grep -E' with '$EGREP -e' in case egrep is the only thing that exists.
This fixes release procedure problems discovered whilst making the 1.5.2 release. * Makefile.am (cvs-dist): Because we check whether ChangeLog has been committed, this rule can't be run with uncommitted source so we can't run 'commit' and don't need to run 'make dist' a second time. Fix CVS tag as it should be "release-X" not "Release-X". (cvs_commit): New rule for the cvs-release chain that runs 'commit' (cvs-release): Depend on cvs-commit, depend on deltas instead of cvs-diff and xdelta. (cvs-diff): Removed, replaced with delta-diff. (delta-diff): Unpack and diff the old and new tarballs rather than using CVS, so we get a genuinely complete diff. (xdelta): Removed, replaced with delta-xdelta. (got-xdelta): New rule for improved reading. (delta-xdiff): Copied and cleaned up version of old xdelta rule. (deltas): Depends on delta-diff and delta-xdelta (make deltas). (cvs-news): Don't depend on timestamps, cvs-dist itself does now. (prev-tarball): This is the only place we need a LASTRELEASE check so copy the code here and remove the CHECK_RELEASE variable. (new-tarball): Check there's a new tarball (did cvs-dist work?) * README-alpha: Update CVS instructions as everything's changed on Savannah, remove references to bz2 as we don't generate those on branch-1-5. (Release procedure): Update NEWS and ChangeLog after changing the version number (both times); Run 'make fetch' after running 'configure' (difficult to do it beforehand); Require 'commit' before 'make cvs-dist' as that checks ChangeLog is committed; 'make deltas' instead of 'cvs-diff' and 'xdelta', pass LASTRELEASE to make instead of OLDVERSION (and it's mandatory); Clean up uploading paragraph; Clearer announcement sending instruction; Removed ftp-upload@gnu.org mail as that's not necessary now; Make web page updating instructions a bit clearer; Add an instruction to update the manual for non-alphas. (Alpha release note template): Add a Subject; update CVS instructions. (Full release note template): Add a Subject; update CVS instructions. * configure.ac: Add dist-bzip2 to AM_INIT_AUTOMAKE as we talk about bz2 files in our release announcements.
Got the versions wrong
* NEWS: updated. * configure.ac: Bumped version to 1.5.3 also in accordance with the new versioning scheme.
GNU libtool 1.5.2 was released. * configure.ac: Bumped version to 1.5.2 in accordance with the new versioning scheme. * NEWS: updated. * config.guess, config.sub, texinfo.tex: Synchronized from ftp.gnu.org.
Gary V. Vaughan <gary@gnu.org> * Makefile.am: Update the maintainer rules against HEAD, I cannot seem to find Gary's original ChangeLog entry for these.
* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar Tollefsen where a dir could be added to the link line with no '-L' on darwin.
* ltmain.in: Move eval to after command separation to allow ~ in paths.
* ltmain.in: Test $old_striplib before using it, not $striplib.
* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
* libtool.m4 (AC_LIBTOOL_CONFIG): Don't attempt to make ltmain.sh unless there's an ltmain.in to do it with. This prevents make/configure loops caused by Automake's dependency rules.
* libtoolize.in: Fix libtoolize so the cd command run when AC_CONFIG_AUX_DIR is used is shown when --dry-run is given. (Debian Bug #153699)
* ltmain.in: include newline in "sensible default" for IFS. (Debian Bug #98492 and #95447)
* libtool.m4: allow STRIP to contain spaces and additional arguments. (Debian Bug #183055)
* m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Remove dead code for platforms that have been using pass_all for some time now.
* ltmain.in: Don't suppress output of PIC mode compile if -no-suppress option is given. * doc/libtool.texi (Invoking libtool): Document it. * NEWS: Updated.
* libltdl/ltdl.c (lt_dlerror): change return value when no error has occured to NULL to match documentation. (Debian Bug #157229)
Charles Wilson <cygwin@cwilson.fastmail.fm> * ltmain.in: include --tag options, if specified, in the relink_command in uninstalled .la files. Also, preserve --silent, --debug options when libtool re-execs itself. * NEWS: Updated.
Scott James Remnant <scott@netsplit.com> * m4/libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [Linux]: Fix the -export-symbols and -export-symbols-regex options.
* m4/libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Recognise the 'R' symbol type so read-only symbols can be exported when combining GCC and Solaris LD.
* ltmain.in: When relinking, place the -L parameter containing the installation prefix directory after the intended destination, so we don't accidentally link against an older installed library.
* tests/demo-nopic.test: Skip test on hppa, which don't like non-PIC shared libraries.
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.
* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs and $finalize_deplibs for programs) when found on the command line or in a .la file's dependency_libs (but don't place them there) so they are honoured when linking both programs and libraries.
* ltmain.in: In compile mode, delay parsing of -shared, -static, -prefer-pic and -prefer-non-pic until after tagged configuration has been read. In link mode, read tagged configuration before parsing any arguments. These arguments will now work when using a non-C compiler.
Scott James Remnant <scott@netsplit.com> * ltmain.in: Don't use the mkdir -p option when creating a temporary output directory so a symlink attack can't be used to arbitrarily chmod other directories on the system if libtool gets run as root.
* ltmain.in: new -precious-files-regex link mode option to prevent removal of matching files from the temporary output directory. (Debian Bug #221420) * doc/libtool.texi: document the new option. * NEWS: announce the new option.
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers (e.g. Intel Linux icc compiler) write temporary files to the current directory. These compilers do support -c and -o simultaneously but wrongly fail the test due to the failure to create temporary files. It is incorrect to penalize compilers which write temporary files to the current directory so the 'chmod -w .' is therefore removed.
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
gratuitous ${libname}${release}${shared_ext} from
library_names_spec.
The rules for uploading releases to gnu.org have been updated, and are in fact now rather complicated. This delta updates the release instructions to the describe the new process, and updates the maintainer rules to help automate many of the steps: * README-alpha: Updated release instructions. * Makefile.am (GPG): Name of the program for generating signatures for files to be uploaded. (XDELTA, XDELTA_OPTIONS): Invocation of xdelta. (cvs-dist): Run distcheck before tagging the cvs tree incase distcheck fails, and then generate the gpg signature files. (cvs-diff): Generate the gpg signature files for the diff. (xdelta): New rule for generating the xdelta diffs and associated gpg signature files. (cvs-release): New rule to do all of the above, if you don't mind typing your gpg passphrase over and over again. :-) (fetch): New rule inspired by automakes similar rule for updating files maintained outside the project. * config.guess, config.sub, doc/texinfo.tex: Updated with the new fetch rule.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): For MinGW, reverted DLL check method back to a working objdump-based test. This is not as concrete a test as using the 'file' command, but it does not require that the 'file' command be available.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for linux* solving many build problems on ARM, and hopefully preventing any future ones. (Debian Bug #191133 and #190569)
* libltdl/ltdl.c: Only include malloc.h if stdlib.h can not be found.
* mdemo2/Makefile.am (INCLUDES): Include `$(top_srcdir)/../libltdl' instead of `../libltdl'.
* libtool.m4: Add GNU/KNetBSD support. * ltdl.m4: Likewise.
* mdemo2/configure.ac: Use AC_LIBTOOL_DLOPEN. * mdemo2/main.c: Use LTDL_SET_PRELOADED_SYMBOLS(). * mdemo2/Makefile.am: Set INCLUDES properly and add -dlopen force to make sure the symbols file is included in the link line.
* libtool.m4 [openbsd]: openbsd 3.x needs versioning information.
* libtool.m4 (_LT_AC_LANG_C_CONFIG): Fix unquoted call to _LT_AC_LANG_C_CONFIG.
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.
* 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.
* libltdl/ltdl.h: Tweak the header to support visual studio.
* 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.
* libtool.m4: Remove parentheses around finish_eval part which broke on amigaos pdksh.
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Correctly remove IRIX C++ template files.
* tests/dryrun.test: Ignore any 'total' line from "ls -l" output.
* libtool.m4: More fixes for the new GNU/FreeBSD triplet. * 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. * libtool.m4 (_LT_AC_LOCK): Also match powerpc64-*linux* in addition to ppc64-*linux*. From Markus Meissner <meissner@bogus.example.com>. * 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.
* 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.
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION): Require LT_AC_PROG_SED to ensure $SED is set by the time it is used. to be before AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH, because the
* configure.ac (AC_INIT): Bumped revision to 1.5.0a -- the first cvs revision number for the 1.5 maintenance branch, leading towards a 1.5.1 release.
* NEWS: Sychronised from branch-1-4.
* ltmain.in: search libraries in the order of preference, rather than picking .la's even if they're in a less preferred directory.
* ltdl.m4: Add support for GNU/FreeBSD. * ltmain.in: Add support for GNU/FreeBSD.
* libtool.m4: No need to use sed to remove leading comma when appending to $tagnames.
* 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).
* 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.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Reorder cygwin's system library search path.
* 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.
* libltdl/ltdl.c (argz_insert): Corrected an off by one error when checking that before is not out of range.
* libltdl/ltdl.c (lt_int_dyld_lib_install_name): Removed unused variable mh1. (sys_dyld_close): Removed unused variable size.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Add support for GNU/FreeBSD.
* 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 paterns to cases.
* doc/libtool.texi: Use @ifnottex instead of @ifinfo, to allow production of HTML documentation using makeinfo.
* README-alpha: Updated upload instructions.
* 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: Changed typo in version description. * config.guess, config.sub, texinfo.tex: Synchronized from ftp.gnu.org.
* 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.
* libtool.m4: Switch on $CC not $cc_basename.
* tests/defs: Quote $DJGPP to prevent problems with some shells. Pointed out by Albert Chin <libtool@thewrittenword.com>
* libtool.m4: Fix the echo test which I broke earlier. * ltmain.in: Make DESTDIR work on darwin, don't use otool.
Fixed typo.
* ltmain.in: New flag -version-number to be used for maintaining compatability with a previously non-Libtool versioning scheme. * doc/libtool.texi: Document it.
* ltmain.in (win32_libid): Fixed sed expression error in win32_nmres evaluation.
* 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>.
* 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.
* 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.
* bootstrap: Add f77demo to the directories that AUTOHEADER is run in.
* ltmain.in: Don't accumulate directory information in clean mode. Include properly pathed wrapper script.
* 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.
* 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.
* 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.
* ltmain.in (win32_libid): use $SED, not head.
* 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.
* ltmain.in: Only append a dot to the wrapper script when building on cygwin/MSYS (check for $build, not $host).
* libtool.m4 (ia64): Add support for Intel compiler (ecc) on IA64 Linux.
* THANKS: Added people who have submitted 3 or more patches to libtool to the THANKS file. * README: Added notes about the Darwin (MacOSX) support.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Add support for the Compaq C compiler for Alpha Linux.
* libtool.m4 (darwin): Disable hardcoding library paths to make relinking unnecessary.
* 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.
* libtool.m4 (AC_LIBTOOL_SETUP): Check for ar.
* 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.
* 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.
* libtool.m4: Replace $linker_flags with $compiler_flags wherever it is used as argument to $CC.
* 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.
* libtool.m4: Intel icc fixups for version 7.0.
* 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.
* ltmain.in (win32_libid): Rewritten to improve speed.
* libtoolize.in: Use the program found by AC_PROG_LN_S to create symlinks.
* ltmain.in: Handle duplicate object file names when performing piecewise archive linking by renaming object files when needed.
* 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.
* 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.
* libtool.m4: Modify the sys_lib_search_path_spec to allow for either native sed or GNU sed to be used.
* libtool.m4: don't use -nodefaultlibs in archive_commands or archive_expsym_commands on NetBSD.
* libtool.m4: Change setting of archive_cmds_need_lc so that it doesn't overwrite the previous setting.
* libtool.m4: Allow compiler variable, CC, CXX, etc. to be a program name with arguments. Original version stripped arguments for CC.
* 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.
* libtool.m4: Hardcode library paths into libraries on IRIX.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): Don't add -DPIC for languages other than C and C++.
* 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=''.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Revert an accidental rearranging of dylib and so for darwin.
* 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.
* ltmain.in [darwin]: disable lazy linking, needed to resolve C++ global constructor issues
Fixed a few format problems and incorrect dates.
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.
* 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.
* 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.
* 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.
* libtool.m4: Sync methods used to detect GNU ld.
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Do not escape } or ? in sed argument.
* ltmain.in: Use the sed program found by LT_AC_PROG_SED so that relink commands don't get truncated.
* libtool.m4: Move AC_REQUIRE([LT_AC_PROG_SED]) to AC_PROG_LD so it is invoked earlier.
* libtool.m4: Add support for Intel icc compiler for Linux.
Format change, forgot the "*".
ltmain.in: Revert the version +1 change for IRIX, it could cause compatibility problems.
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION, AC_LIBTOOL_PROG_CC_C_O): Changed method for compilation with custom flags to be language-independent. Thereby removed CFLAGS/GCJFLAGS mixup bug. Imitate Autoconf-style logging. Log entries no longer discarded by compilation failures. (_LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG, _LT_AC_LANG_GCJ_CONFIG): Tuned settings of lt_simple_compile_test_code and lt_simple_link_test_code to avoid warnings that could break some option detections. (AC_LIBTOOL_PROG_COMPILER_NO_RTTI): Removed redundant "-c conftest.$ac_ext" in the argument to AC_LIBTOOL_COMPILER_OPTION. (AC_LIBTOOL_PROG_LD_SHLIBS): Replaced C-specific conftest source code with $lt_simple_compile_test_code, to support the "-lc" test with other languages.
Don't assume that egrep and fgrep exist. POSIX 1003.1-2001 no longer requires them; you're supposed to use grep -E and grep -F instead. Also, don't assume that "test -a" works, since POSIX doesn't require it. * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE, AC_LIBTOOL_PROG_LD_SHLIBS): egrep -> grep, when that makes no difference. * libtoolize.in: Likewise. * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Likewise. * ltmain.in: Likewise. * demo/Makefile.am (hc-direct): Likewise. * pdemo/Makefile.am (hc-direct): Likewise. * tests/build-relink.test, tests/build-relink2.test, tests/cdemo-conf.test, tests/cdemo-shared.test, tests/cdemo-static.test, tests/demo-conf.test, tests/demo-nofast.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/hardcode.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: Likewise. * libtool.m4 (AC_PROG_EGREP): New macro, defined if Autoconf doesn't define. (AC_PATH_TOOL_PREFIX, AC_PROG_LD_GNU): Use it. (AC_PROG_LD, AC_PROG_NM, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Use shell pattern matching rather than egrep. (AC_LIBTOOL_CONFIG): Set lt_EGREP and EGREP. * demo/Makefile.am (SET_HARDCODE_FLAGS): Use sed instead of egrep. * pdemo/Makefile.am (SET_HARDCODE_FLAGS): Likewise. * tests/defs (EGREP, FGREP): New vars. * ltmain.in: egrep -> $EGREP * tests/assign.test, tests/demo-exec.test, tests/demo-inst.test, tests/pdemo-exec.test, tests/pdemo-inst.test, tests/sh.test: Likewise. * tests/hardcode.test: fgrep -> $FGREP * tests/f77demo-exec.test: test -a -> test &&
* ltmain.in: When using gcc, pass -mfoo to the linker via $compiler_flags in order to pass architecture information to the linker (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo but this is not reliable with gcc because gcc may use -mfoo to select a different linker, different libraries, etc, while -Wl,-mfoo simply passes -mfoo to the linker. If there is a better solution, please let me know what it is.
* tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@ does not appear to be necessary given that Automake makes this assignment by default. The condition is removed since Automake 1.7.1 complains about it.
* libtool.m4: Support linking of 64-bit libraries on
sparc{,v[789]}-*linux*, s390*-*linux*, ppc*-*linux*
GNU/Linux systems when the platform default is to build
32-bit libraries.
* libtool.m4: Support linking of 32-bit libraries with ld on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems.
* ltmain.in: Do not change the PATH in the wrappers: let them launch the real binary using its path.
* doc/libtool.texi (Library tips): Note array dimensions.
* tests/*.test: MinGW's MSYS treats files under /dev specially. This causes 'test -r /dev/null/config/site' to improperly report success, causing configure to fail. Change the CONFIG_SITE definition from "/dev/null/config/site" to "/nonexistent" to avoid this problem.
* libtool.m4 (_LT_AC_LOCK): remove support for ancient versions of mingw and cygwin. (AC_LIBTOOL_POSTDEP_PREDEP): new function. moved the "find hidden library dependencies" code here from AC_LIBTOOL_LANG_CXX_CONFIG. Attempted to make it multi-tag compatible, but currently only CXX calls it. (AC_LIBTOOL_LANG_CXX_CONFIG): set enable_shared_with_satic_runtimes to 'no' by default Set it to 'yes' for cygwin, mingw, pw32. Replace "find hidden library dependencies" code with a call to the new function AC_LIBTOOL_POSTDEP_PREDEP. Consolidate cygwin and mingw/pw32 stanzas. (AC_LIBTOOL_LANG_F77_CONFIG): set enable_shared_with_static_runtimes to 'no' by default (AC_LIBTOOL_CONFIG): add enable_shared_with_static_runtimes to the list of variables to write into ltmain.sh; include it in the libtool script template as allow_libtool_libs_with_static_runtimes. (AC_LIBTOOL_PROG_LD_SHLIBS): set enable_shared_with_static_runtimes to 'no' by default Set it to 'yes' for cygwin, mingw, pw32. (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): only put cr in regexp if the build_os is mingw, not host_os * ltmain.in (case deplibs_check_method): for all appropriate cases, if allow_libtool_libs_with_static_runtimes, then remove predeps and postdeps from the list of dependencies that must be checked for "dynamicness". For the "none" case, the presence of compiler-generated postdeps and predeps should not trigger "inter-library dependencies not supported" error. (initial setup after arg processing): on cygwin/mingw, allow compiler-generated dependent libs to be duplicated without elimination. (initial search loop for deplibs): if the deplib in question is a libtool lib, then if allow_libtool_libs_with_static_runtimes then parse the .la file. If the .la file only has an "old_library", add the deplib directly to the deplibs list (-lstdc++) and DON'T use the .la file; this allows the (case deplibs_check_method) change above to take effect. * ltmain.in (for pass in $passes loop): remove predeps, postdeps, and compiler_lib_search_path from dependency_libs.
* doc/libtool.texi: Add --mode=* to every example using libtool.
* ltmain.in: add support for installing into temporary staging area (e.g. 'make install DESTDIR=...') * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): restore setting allow_undefined_flag=unsupported for cygwin and mingw. (AC_LIBTOOL_PROG_LD_SHLIBS): ditto, for both "normal" gcc/ld and for the (unmaintained?) MSVC case. * doc/libtool.texi (Install mode): document new -inst-prefix option.
* ltmain.in: Print a warning if the mode is not specified. * doc/libtool.texi: Document the change that the mode must be specified.
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function win32_libid on w32 platforms * ltmain.in: add new section for shell functions. Add win32_libid() shell function. * f77demo/Makefile.am: add -no-undefined flag * ltdl.c (realloc): Remove custom realloc. (#define rpl_realloc realloc) and comment out later code for custom realloc. You can't define your own malloc unless you know enough about the malloc in use to be able to tell how big the src ptr is. The disabled code incorrectly used the *destination* ptr to decide how much to copy. This sometimes results in out-of-bound accesses which cause segfaults. This is a quick hack for now; we may want something cleaner later. (tryall_dlopen_module): check to be sure (dirname_len > 0) before testing first character against '/'. (try_dlopen): check for feof(file) in read loop -- otherwise infloop?
* ltmain.in (-XCClinker): New flag passes a linking option
directly to the compiler driver without appending ${wl}.
* README-alpha: Add some release not templates for inspiration and consistency at release time.
* Makefile.am (cvs-diff): Compress the generated diff file, ready for upload to ftp.gnu.org.
* ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other compiler variants.
* libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed. No longer used. (_LT_AC_FILE_LTDLL_C): Ditto. (AC_LIBTOOL_CONFIG) [cygwin, mingw, pw32, os2]: Don't call _LT_AC_FILE_LTDLL_C or _LT_AC_FILE_IMPGEN_C.
* libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the -brtl special-case code for AIX never gets triggered because were are being too specific about how we search for -brtl. Use case statement to avoid this. Remove extraneous semicolon. * ltmain.in: Recognize the IBM xlc compiler.
Correct sense of libltdl file not found check.
Support compiler names matching g++*
Cleaned up pw32 target.
ltmain.in: Do not add 1 to the version under IRIX, it is not necessary.
Apply Cygwin patches from Charles Wilson.
MinGW patches from Elizabeth Barham and Bob Friesenhahn.
AIX module name patch from Albert Chin-A-Young.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add -install_name to the link line only when -dynamiclib is specified for a module. Use -bind_at_load when linking C++ shared libraries.
* libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to create a dll for Windows targets.
* ltmain.in: Fixed a few spelling errors.
* libltdl/ltdl.c: Commented out access() call that checks for a library file's existence and permissions, as it appears to fail in every case.
* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q', read-only constants.
* libtool.m4 (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.in (osf): Prefix $major with '.' for use as extension.
Port libltdl fully to native Win32 API.
* f77demo/.cvsignore: New file, forgotten in the last commit.
* libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77 Fortran support tag. (AC_LIBTOOL_PROG_CC_C_O, _LT_AC_TAGCONFIG): Support F77 tag. (AC_LIBTOOL_F77, _LT_AC_LANG_F77, AC_LIBTOOL_LANG_F77_CONFIG): New macros for F77 tag Fortran support. * configure.ac: Add support for creating the new F77 tag. * bootstrap: Add f77demo directory to the list to be processed. * Makefile.am: Add support for FFLAGS and FLIBS. * tests/Makefile.am: Add new Fortran tests. * tests/f77demo-*.test: New files. * f77demo/configure.ac, f77demo/cprogram.c, f77demo/fooc.c * f77demo/foof.f, f77demo/foo.h, f77demo/fprogram.f * f77demo/Makefile.am, f77demo/README: New files.
* libltdl/ltdl.c (tryall_dlopen): We need to catch missing file errors early so that file_not_found() can detect what happened.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove extraneous '=' character which appears in gcc 3.1 -print-search-dirs output. Handle both upper and lower case drive letters when testing for Windows vs POSIX style path output from -print-search-dirs output.
* ltmain.in (Piecewise linking): Add a clause to skip creating the export file until the reloadable object file(s) have been created, then use them as input for $export_symbols_cmds.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs libltdl_cv_sys_dlopen_deplibs set to yes.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for Autoconf.
* libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.
* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL when *PARGZ_LEN is non-NULL, so the assertion to the contrary was bogus. Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us> and Albert Chin-A-Young <china@thewrittenword.com>
* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '0' terminated by all code paths. Reported by Lutz Müller <lutz@users.sourceforge.net>
From Kevin Ryde <user42@zip.com.au>: * doc/libtool.texi (Platform quirks): s/dependan/dependen/ * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Ditto. * TODO: Ditto.
* ltmain.in (irix, nonstopux): Set major before use.
* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user if tryall_dlopen() fails.
* tests/pdemo-exec.test: Typo. s/hell-static/hell_static/
* NEWS: Updated. * libtool.m4: use $NM to create the symbol list on cygwin, not $ltdll_cmds as on mingw. For all tags, (and host=cygwin) set allow_undefined_flag="" so that the --auto-import magic works properly. For all tags (and host=cygiwn) set always_export_symbols=no -- it is unnecessary thanks to binutils' auto-export magic. * libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary wrapper; use cygwin's builtin implementatino of dl*. * cdemo/Makefile.am: the downside of unsetting 'allow_undefined_flag' -- we must include -no-undefined in the _la_LDFLAGS variable. * depdemo/l1/Makefile.am: ditto. * depdemo/l2/Makefile.am: ditto. * depdemo/l3/Makefile.am: ditto. * depdemo/l4/Makefile.am: ditto. * mdemo/Makefile.am: ditto. * tagdemo/Makefile.am: ditto. * demo/Makefile.am: ditto. But also, we must make special provision to clean up the hell0 wrapper script. * pdemo/Makefile.am: ditto -no-undefined. ditto hell0. And use 'hell_static' instead of 'hell.static'. * tests/pdemo-inst.test: use 'hell_static' instead of 'hell.static'. * tests/pdemo-exec.test: ditto.
* tests/build-relink2.test: look for installed libl3.la in $prefix/lib/ as well as $prefix/lib/extra/.
* tests/hardcode.test: Use libtool --config to collect the variable values for the test, otherwise the tag values interfere with a straight grep.
Finally fix the annoying bug which always adds all tags to the libtool script built by your project configure. Now we set the default tags depending on whether AC_PROG_CXX et. al. are actually called from configure.ac. * libtool.m4 (_LT_AC_TAGCONFIG): Don't default the tagnames when no --with-tags argument is given. (_LT_AC_SHELL_INIT): Factored out from the AC_DIVERT_PUSH code in... (_LT_AC_PROG_ECHO_BACKSLASH): ...which now calls the macro instead. (AC_LIBTOOL_CXX): Use _LT_AC_SHELL_INIT to add CXX to the initialisation sequence for tagnames. (AC_LIBTOOL_GCJ): Similarly for GCJ tag. (AC_LIBTOOL_RC): Likewise for RC tag.
* ltmain.in: Fix a problem on SCO OpenServer5 that caused a failure in three depdemo-make tests. For some reason the linker tries to find the dependent libraries using the library search path before it has read the libraries specified with absolute paths in the full commandline. This patch add -L's for each of the dependent library directories so that they can be resolved.
* libtool.m4: Update support for NetBSD * ltdl.m4: Make sure that libltdl_cv_func_dlopen and libltdl_cv_lib_dl_dlopen are set and used instead of the ac_cv_ versions. Also, use lt_cv_sys_global_symbol_pipe instread of global_symbol_pipe. This fixes the detection of dlopen on BSD derived plaforms and more importantly fixes need_uscore detection.
Fixed a typo in ChangeLog. s/ltmain.sh/ltmain.in/
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with _POSIX2_VERSION=200112.
* ltmain.in: Don't assume that "sort +2" works, as POSIX 1003.1-2001 says that "sort +2" is supposed to sort the file named "+2". An example host that behaves like this is textutils 2.0.21 with _POSIX2_VERSION=200112.
* ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library.
* ltmain.in: Remove convenience libraries from deplibs for Darwin.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds to catch properly handle dll alias symbols.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
* doc/libtool.texi (C++ libraries): Finally updated to reflect Libtool's support for C++.
* libtool.m4: Update support for Fujistu-Siemens Computers (FSC). * ltmain.in: Add support for EBCDIC based systems.
* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory and consistent use of the shell variable namespace "lt_ac_".
* ltmain.in: Finish the tag matching logic started yesterday and refactor it a bit.
* ltmain.in: Handle the case when no tag is explicitly set, and $base_compile has a space in front of $CC, and revert the setting of tagname checked in on 2002-3-14.
* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++ runtime libraries. * tagdemo/main.cpp: Ditto.
* TODO: Removed obsolete comments about RMS' package system.
ltmain.in: Touch-up to make testsuite pass, and default tagname to CC when it isn't explicitly set.
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix. (AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not using -DPIC with gcj.
bring a touch of order to the option processing
* NEWS: Updated. * THANKS: Added Rob Collins and Chuck Wilson for their cygwin work. From Robert Collins <robert.collins@itdomain.com.au>: * configure.ac (AC_EXEEXT): Needed for DOSish systems. * libtool.m4 (shlibpath_overrides_runpath) [cygwin]: Set to yes when compiling with gcc. (lt_prog_compiler_pic) [cygwin]: No longer needs the -DDLL_EXPORT hack, so we just say the pic is the default. (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin]: Extract symbols from a library normally. [cygwin]: Declare C++ compiler characterisics for g++, taking into account the new auto-import support in cygwin ld. * ltmain.in (specialdeplibs) [cygwin]: Be careful about eliminating duplicate -lgcc's from the link line. [cygwin]: Be smarter about .exe suffixes. * demo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL): Support DOSish systems properly. * depdemo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL): Ditto. * demo/Makefile.am (deplibs-check): Allow for .exe suffix. Use hell_static instead of hell.static for multi-`.' inhibited OSes. * tests/demo-exec.test: Ditto. * tests/demo-inst.test: Ditto. * demo/foo.h [cygwin]: Sanitize cygwin dll support. * demo/foo.c (_LIBFOO_COMPILATION_): No longer required. * demo/hello.c (_LIBFOO_COMPILATION_): Ditto. * depdemo/Makefile.am (bin_PROGRAMS): Use depdemo_static instead of depdemo.static for multi-`.' inhibited OSes. * tests/depdemo-exec.test: Ditto. * tests/depdemo-inst.test: Ditto. * mdemo/Makefile.am (bin_PROGRAMS): Ditto for mdemo.static. * tests/dryrun.test: Ditto. * tests/mdemo-exec.test: Ditto. * tests/mdemo-inst.test: Ditto. * tests/build-relink.test: Be careful about possible .exe suffixes. * tests/noinst-link.test: Allow for .exe suffix.
Reverted incorrect patch: 2001-10-24 H.J. Lu <hjl@gnu.org> * ltmain.sh: Allow link against an archive when building a shared library. * libtool.m4 (lt_cv_deplibs_check_method): Always use file_magic for Linux ELF.
* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of output. AC_REQUIRE the new macro. * ltmain.in: Use $SED rather than plan old sed, as set by the new macro LT_AC_PROG_SED.
* libltdl/ltdl.c (find_handle_callback): treat the result of a call to access(2) correctly when deciding whether a library can be found in a directory from user_search_path.
* NEWS: Fixed wrong path for texinfo.tex. * configure.ac: Bumped version to 1.4e. GNU libtool 1.4d was released. * configure.ac: Bumped version to 1.4d. * NEWS: updated. * config.guess, config.sub, texinfo.tex: Synchronised from ftp.gnu.org.
* ltmain.in: Replace all test "-a"s by "&& test" for portability.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the factor of saftey as 3/4 of the result was not low enough.
* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined in aclocal.m4 had bitrotted slightly. Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>
* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should not be explicitly used. ld handles this depending on the presence of the -pthread option.
With help from Michael Matz <matz@kde.org>: * ltmain.in: Add a new command line argument --preserve-dup-deps for preserving duplicate dependent libraries. * libtool.texi: Document it.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test" warnings to /dev/null, helps FreeBSD and maybe others.
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC macro might add to $CC if options needed by compiler to grok ANSI.
From Joseph S. Myers <jsm28@cam.ac.uk>: * ltmain.in: Typo.
* ltmain.in: Place parens around a generated relink_command so it is run is a subshell. This avoids an install error where libtool ended up in the wrong directory after relinking a .la file.
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE before the use of $PACKAGE in $pkgdatadir. Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
From Tom Bates <Tom.Bates@compaq.com>: * libtool.m4 [mips-compaq-nonstopux]: New port. * ltmain.in [mips-compaq-nonstopux]: Support $version_type == nonstopux.
* ltdl.c: change some types to size_t from int because strlen() returns size_t. argz_len changed to size_t in foreach_dirinpath() because argzize_path() takes 3rd argument as size_t, not int. Based on lint run from Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character sets to contain the separator character. Reported by Kevin Ryde <user42@zip.com.au>
* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl' option to configure, but to find an appropriate ltdl library and append the right options to link it.
*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
* ltmain.sh: Allow link against an archive when building a shared library. * libtool.m4 (lt_cv_deplibs_check_method): Always use file_magic for Linux ELF.
* ltdl.m4: Changed "underscode to underscore".
* configure.ac: General modernisation and cleanup. * cdemo/configure.ac: Ditto. * demo/configure.ac: Ditto. * depdemo/configrue.ac: Ditto. * ltdl/configure.ac: Ditto. * ltdldemo/configure.ac: Ditto. * mdemo/configure.ac: Ditto. * pdemo/configure.ac: Ditto. * tagdemo/configure.ac: Ditto.
* libltdl/ltdl.c: Match function return type with prototype (add static initializer to file_not_found).
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for consistency with gettext's INTLINCL. Keep the old symbol too for backwards compatibility. (AC_LIBLTDL_INSTALLABLE): Ditto. * doc/libtool.texi (Distributing libltdl): Adjust documentation.
* ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00 support shl_load *and* dlopen, dlopen works correctly only with a patch. Because we want to avoid the situation where we build on a system with the patch but deploy on a system without, use shl_load exclusively if found.
* libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start marker searched for by sed must start in column 0. (_LT_AC_FILE_IMPGEN_C): Ditto. Reported by Tor Lillqvist <tml@iki.fi>
* libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted tool support (while still running libtool on cygwin). In that case PATH_SEPARATOR is ':', but gcc -print-search-dirs still prints its search path with ';' as separator. (AC_LIBTOOL_RC, AC_LIBTOOL_LANG_RC_CONFIG): Add support for .rc files (Windows resource files), compiled by the resource compiler (windres in mingw) to .o files. (AC_PROG_NM): Minor bug fix for $PATH elements with spaces in them. * configure.ac: Use LT_AC_PROG_RC. * ltmain.in: Check for .rc files. * NEWS: Updated.
* ltmain.in: Add a space to $base_compile in the case statement, as the case labels checks for trailing spaces, but there aren't necessarily in $base_compile.
* libtool.m4: When setting archive_cmds for CC, don't test for $GXX but for $GCC on HP-UX. Indentation fixes.
From Tor Lillqvist <tml@iki.fi>: * ltmain.in [cygwin* mingw*]: Take care of the difference between wrapper script name and executable name.
* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6 for /bin/sh, and that shell does not handle escaped quotes properly yet. Reported by Christopher Pfisterer <cp@chrisp.de>
* libltdl/ltdl.c: Match function return type with prototype (add static initializer to some functions) to prevent warnings from HP-UX cc.
* libltdl/ltdl.c: Added support for dmalloc, and uncovered some memory bugs as a result.
* libtool.m4: Don't include main() when testing for command to parse $NM output because some C++ compilers don't allow you to take the address of main (e.g. HP-UX aCC).
* libtool.m4: Some uses of $GXX were unquoted, but GXX is either NULL or yes. Use "$GXX".
typo
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test does not fail due to a prototype in dlfcn.h
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h. * libltdl/ltdl.c: If not, disable assertions manually.
* bootstrap: Be robust to having no files that need removing.
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to 1.2. * libltdl/Makefile.am (libltdl_la_LDFLAGS): Bump libtool library version info to 4:0:1.
* libtool.m4: No need to undefine([symbols]), proper quotation is enough.
* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
there is no need for us to preset it anymore.
Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
splitting, otherwise spaces in directory names will be lost.
Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
an autoconf internal until just now, when it disappeared!
* ltmain.in: Default IFS once, at the start.
Reported by Akim Demaille <akim@epita.fr>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of Autoconf square bracket quoting style normalisation.
* ltmain.in (-lc_r): Style improvement.
From Brad <brad@comstyle.com>: * doc/libtool.texi: Remove obsolete references to ltconfig. * tests/quote.test: s/ltconfig/$0/
* libtool.m4: Use Autoconf square bracket quoting style consistently throughout.
* bootstrap: Cleanup `autom4te' and `libtool' so that we don't get caught by something from a previous build.
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert my 2001-09-06 patch. (no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.
* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t. Reported by Albert Chin <china@thewrittenword.com>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing no_undefined_flag from `-z text' to `-z defs' (see entry below at 2001-04-11 Alexandre Oliva <aoliva@redhat.com>) has a problem. when linking a shared library with gcc calling /usr/ccs/bin/ld (eg. the gcc supplied with Solaris 8 companion CD), using the flag -no-undefined, shared library linking will always fail because of the unresolved symbols from libgcc.a. Consequently we have to provide a path to libgcc.a when linking shared libraries in conjunction with -no-undefined!
From Michael Pruett <mpruett@engr.sgi.com>: * libltdl/ltdl.c (find_module): `0' valued arguments to tryall_dlopen_module() must be explicitly cast to avoid compiler warnings on some environments.
From Daniel Johnson <danielj7@mac.com>: * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU ld section to non-GNU ld section.
* pdemo/Makefile.am (helldl): Automake 1.4 can't find the target if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do. Using both targets to the left of the colon seems to work though!
* demo/Makefile.am (helldl): Automake 1.4 can't find the target if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do. Using both targets to the left of the colon seems to work though!
* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the behavior of OpenBSD's dlopen().
From Marius Vollmer <mvo@zagadka.ping.de>: * libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate errors over recurse levels.
* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
From Albert Chin <china@thewrittenword.com>: * libtool.m4 (_LT_AC_LANG_C_CONFIG) [aix4*]: Be careful with shared namespaces for static and shared libs. (AC_LIBTOOL_DLOPEN_SELF): If all else fails, try dld_link from GNU DLD.
* libtool.m4, ltmain.in: Linker flag and version numbering fixes for darwin.
Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>: * NEWS: updated. * ltdl.m4 (AC_LIB_LTDL): Check for unistd.h. * ltdl.c: Include unistd.h if it exists. (LTDL_SEARCHPATH_VAR): Macro to prevent hardcoding "LTDL_LIBRARY_PATH". (LTDL_ARCHIVE_EXT): Macro to prevent hardcoding ".la". (archive_ext): Have only one copy of ".la" in the readonly segment of the compiled library. (find_handle_callback): Don't bother trying to dlopen the file if it doesn't exist. (find_handle): Don't bother searching for files if no search_path was supplied. (file_not_found): A new function to determine whether the last error was due to a file not found condition. (try_dlopen): Renamed from lt_dlopen() and changed to have the same footprint as tryall_dlopen. This involved a minor rewrite of much of the internals of this function. (lt_dlopen): A new function wrapped arounf try_dlopen(). (lt_dlopenext): If a file already has a suitable extension, don't bother adding additional extensions and trying to open those. Tidy up the rest of the code to prevent continued searching with an eventual FILE_NOT_FOUND when a genuine failure earlier in the search process could be legitimately reported.
* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change this from just `helldl'.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem with export_symbols_cmds not being set for CXX tags, and not being properly set for any tag under AIX/Power.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved error message that is displayed when there was a problem compiling the C++ test program. It still mentioned the now non-existent `ltcf-cxx.sh' file. * doc/libtool.texi (LTDL_SET_PRELOADED_SYMBOLS): Removed parentheses at end of starting "defmac" line, as pointed out by makeinfo.
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
* libltdl/ltdl.c (argz_create_sep): Don't forget to include the terminating '0' when counting argz_len. (argz_create_sep): When canonicalizing argz, don't forget to copy the terminating '0', incase canonicalization has shortened argz. (argz_stringify): Don't covert the final '0' to a separator.
* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all loaded module handles as originally intended.
* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked either, due to a pair of typos. Now fixed.
* libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed there was no way this could have ever worked? (lt_dlcaller_set_data): Now that valid caller_ids must be non-zero, allocate an addition entry in the caller_data vector and use a zero valued key as the end marker. (lt_dlcaller_get_data): Iterate up to the end marker in one pass.
* libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated starting from value `1', so that clients can use a value of zero to indicate that libltdl has not yet initialised.
* ltmain.in (exec_cmd): Fix quoting in execute mode so that the double quotes added by libtool (to prevent lossage with embedded spaces in filenames etc.) are not interpreted as literals by the shell.
* libltdl/ltdl.c (find_file_callback): Fix a multiple free() bug. (tryall_dlopen_module): Remove some unused variables.
* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address of the end of user_search_path correctly.
* libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation. * ltdl.m4 (AC_LTDL_FUNC_ARGZ): Test for argz_stringify in libc. * libltdl/ltdl.c (lt_argz_insertinorder): Renamed from lt_argz_insert to make room for... (lt_argz_insert): Wraps argz_insert with libltdl error handling. (lt_dlpath_insertdir): Insert new path elements into an argzized path. (lt_dlinsertsearchdir): New function to insert new search directories anywhere into user_search_path using the above. (lt_dladdsearchdir): Rewritten to use lt_dlpath_insertdir. * libltdl/ltdl.h (lt_dlinsertsearchdir): Prototype for export. * doc/libtool.texi (Libltdl interface): Document it. * NEWS: Updated,
ltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string) with current autoconf, so we need to be robust to that when testing it,
From Brad <brad@comstyle.com>: libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting of this variable.
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to LT_EMALLOC.
* ltdl.m4: Canonicalize descriptive text used with AC_DEFINE.
* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove. (_LT_AC_PROG_ECHO_BACKSLASH): Use $ac_path_separator instead of $PATH_SEPARATOR. (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Ditto. (_LT_AC_TAGCONFIG): Ditto. (AC_ENABLE_SHARED): Ditto. (AC_ENABLE_STATIC): Ditto. (AC_ENABLE_FAST_INSTALL): Ditto. (AC_PATH_TOOL_PREFIX): Ditto. (AC_PATH_MAGIC): Ditto. (AC_PROG_LD): Ditto. (AC_PROG_NM): Ditto. * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Ditto.
From Brad <brad@comstyle.com>: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: OpenBSD can build modules without a `lib' prefix and version number. Move the deplibs check code from here... (AC_DEPLIBS_CHECK_METHOD): ...to here.
* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules without a `lib' prefix to the module name.
From Guido Draheim <Guido.Draheim@tek.com>: * ltmain.in: Display better and different error messages when library linkage fails in various ways.
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after terminating '}' grouping character. Change '[0-9][0-9]' to '0' as we've already matched it.
From Brad <brad@comstyle.com>: * libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace 1.3 era $linkopts references with $linker_flags.
* libltdl/ltdl.c: Fixed several careless mistakes in the foreach_dirinpath support functions. (foreach_dirinpath): Walk path elements with the argz API.
From Sedi Master Albert Chin <china@thewrittenword.com>: * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation with an equivalent bit of sed wizardry.
From Edouard G. Parmelan <egp@free.fr> * libtool.m4 [darwin, openbsd]: Fix quoting problems with unquoted [] expressions.
* bootstrap: s/ltdldemo // -- This demo soesn't work properly, so I haven't committed it yet.
* libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the AC_PREREQ autoconf macro since the new libtool macros utilize macros from that version of Autoconf.
* ltdl.m4: Bump serial number. General reformat and tify up in line with Autoconf-2.50 support. (AC_LTDL_FUNC_ARGZ): Test for system implementations of a handful of argz API calls, the error_t type, and the argz.h header. * libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump version number. * libltdl/ltdl.c (rpl_argz_append, rpl_argz_create_sep. rpl_argz_insert, rpl_rgz_next): Fallback implementations of the similarly named functions for machines that don;t use glibc. (lt_dlrealloc): New memory function pointer that can be set by the client. Defaults to rpl_realloc, which in turn uses only lt_dlmalloc and lt_dlfree. (LT_EMALLOC, LT_EREALLOC): Set internal out-of-memory error inside the functions called by these new macros. Simplified all callers by removing explicit client error reporting. (memmove): Fallback implementation of overlap safe memory copy function. (tryall_dlopen): Factorized common code into... (tryall_dlopen_module): ...this new helper function. (canonicalize_path): Changed function signature to return success or failure. Updated all callers. (foreachfile_callback): Make use of argz API. (LT_DLSTRLEN): Moved from here... * libltdl/ltdl.h (LT_STRLEN): ...to here. Updated all callers. (lt_dlrealloc): Declare new memory management handle.
* libtool.m4 (mingw*) Revert the previous change as it was applied by mistake.
* libtool.m4 (mingw*) sys_lib_search_path_spec: Sets the proper path separator for cross-compiling.
* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an incorrect resetting of lt_prog_compiler_static when using gcc under AIX Power.
* bootstrap: Remove generated files (incase they are links) before rerunning the autotools to regenerate them.
* libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era quadrigraphs and AC_HELP_STRING to bring AC_ARG_WITH/ENABLE macros up to date. (_LT_AC_LOCK): Ditto. (_LT_AC_TAGCONFIG): Ditto. (AC_PROG_LD): Ditto. (AC_ENABLE_SHARED): Ditto. And eliminate the last remaining changequote invocations. (AC_ENABLE_STATIC): Ditto. And Ditto. (AC_ENABLE_FAST_INSTALL): Ditto. And Ditto. * ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Use Autoconf-2.50 era quadrigraphs and AC_HELP_STRING to bring AC_ARG_ENABLE macro up to date. * NEWS: Updated.
* libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for UnixWare7 and OpenUNIX8. Accept these identifiers from the latest config.guess/config.sub as pseudonyms for sysv5uw[78]. * NEWS: Updated. Reported by Boyd Lynn Gerber <gerberb@zenez.com>
* tests/sh.test: Add a new test to enforce X as the fill character in `test "X...'. Beef up the `test' tests to also check `test -.' and `test ! -.' phrases for compliance. * ltmain.in: Fix quoting problems uncovered by the new tests.
* tests/sh.test: New test to disallow `test $foo', where `test "$foo"' is much safer. * ltmain.in: Fix quoting problems uncovered by the new test.
* libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from "extern char" to "extern int" so that GCC 3.0 won't complain and refuse to compile programs containing "extern char main()".
From Guido Draheim <Guido.Draheim@tek.com>: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support cross compilation to mingw by allowing `:' or ';' as a path separator. * NEWS: Updated.
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all for sh*-*-linux* (SuperH) too.
From Thomas Poindessous <poinde_t@epita.fr> * ltmain.in (pic_mode): Added missing quotes around shell variable in "if test" conditional. From Peter Moulder <pmoulder@longford.csse.monash.edu.au> * ltmain.in (xform): Add support for pre-processed (e.g. `*.{i,ii}' sources). * THANKS: Added Albert Chin-A-Young.
From Steve Ellcey <sje@cup.hp.com>: * libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer fix for `canonical'.
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Fixed a mispelled binder option under AIX. The option to throw errors for unresolved external references is -bernotok, not -bnoerok.
* Makefile.am (EXTRA_DIST): Don't forget to distribute ChangeLog.1.
From Erik Lindahl <E.Lindahl@chem.rug.nl> * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Used on aix to discover the compiler's default library search path so that the MPI compiler suite is not hosed by the previously hardcoded path. * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Use it.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for s390*-*-linux* and m68*-*-linux*.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support problems with CXX variables being overwritten by the individual macros. (AC_LIBTOOL_PROG_CC_C_O): Ditto. (AC_LIBTOOL_PROG_COMPILER_PIC): Ditto. (AC_LIBTOOL_LANG_CXX_CONFIG): Moved call to AC_LIBTOOL_SYS_HARD_LINK_LOCKS after the call to AC_LIBTOOL_PROG_CC_C_O as it depends on the result. (AC_LIBTOOL_LANG_GCJ_CONFIG): Ditto. (AC_LIBTOOL_LANG_C_CONFIG): Ditto. (AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Used the macro _LT_AC_TAGVAR to ensure the correct variable is being queried. (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Changed the naming of shared objects under IRIX back to what it was in the MLB.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious "break" and bogus comment (_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd. * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for more platforms, including AIX, Digital/Tru64 UNIX and IRIX.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX run-time-linking when not using gcc. (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto. Reported by Dan McNichol <mcnichol@austin.ibm.com>
From dda@sleepycat.com (Don Anderson): * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [qnx]: New supported architecture. (AC_DEPLIBS_CHECK_METHOD) [qnx]: Ditto. * NEWS: Updated.
From Stefan Ondrejicka <ondrej@idata.sk>: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [cygwin*]: Make sure that /lib/w32api is searched for system libraries to match recent versions of cygwin. * NEWS: Updated.
From albert chin <china@thewrittenword.com> * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix AIX run-time-linking when using gcc. (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf, solaris]: Doh! the evalled variable shouldn't have been quoted.
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf, solaris]: output_verbose_link_cmd have unquoted `*' in case statements for these architectures. Be sure to quote them with a sed expression before passing to eval. Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* README-alpha: s/configure.in/configure.ac. * configure.ac: Bumped version to 1.4c.
* configure.ac: Bumped version to 1.4b. * NEWS: updated. * config.guess, config.sub, texinfo.tex: Synchronised from ftp.gnu.org.
From Michael Elizabeth Chastain <chastain@cygnus.com>: * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len to a maximum of 512Kb, as it seems some HPUX 11.0 systems have trouble with 1MB.
* README-alpha: Upgrade distribution instructions to include canonical location of texinfo.tex.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs on AIX5/IA64 with GNU ld. Keep gnu defaults if using gnu tools on AIX5/IA64.
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len to -1 on hurd, it has no command line argument limits. * ltmain.in Handle max_cmd_len=-1 for systems that don't have command line argument limits.
* libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x sematics, and always build static libs when the host machine cannot build shared libs. Even if static libs were explicitly disabled.
Cleanup of libltdl: * ltdl.c (lt_dladderror): Don't use `index' as a variable name, since it is a function on BSD based boxes. (lt_dlseterror): Ditto. (lt_dlexit): Remove unused errormsg declaration. (foreach_dirinpath): Make sure filename is initialised. (find_handle): Return NULL for a failed search. (foreachfile_callback): Don't reuse data2 symbol from prototype in func declaration to prevent symbol shadowing. * ltdl.h (lt_dlmutex_seterror): Don't use `error' as a parameter name, since it is a function on glibc boxes.
* libtoolize.in: Display --version in the same format as autoconf and automake. * ltmain.in: Ditto.
Merge test improvements from multi-language-branch: * tests/defs: Find and set the value of CC probed by libtool.m4 * tests/link-2.test: Use a .lo wrapper script, and the value of CC set by defs instead of hardcoding gcc. * tests/link.test: Use the value of CC set by defs instead of hardcoding gcc. * tests/quote.test: Ditto. * tests/suffix.test: Ditto.
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set lt_prog_compiler_wl to `-Wl'. Reported by Albert Chin-A-Young <china@thewrittenword.com>
* ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen implementation, and adding `-ldl' has failed, try linking a call to dlopen, #including dlfcn.h, and without -ldl. On sco3.2 the header files redefines the interface symbols to point at the implementation symbols in libc. Reported by "Golubev I. N." <gin@mo.msk.ru>
General cleanup of autoconf-2.50 upgrade: * configure.ac: Mark as needing autoconf-mode in emacs. Pass arguments to AC_INIT. * cdemo/configure.ac: Ditto. * demo/configure.ac: Ditto. * depdemo/configure.ac: Ditto. * libtldl/configure.ac: Ditto. * mdemo/configure.ac: Ditto. * pdemo/configure.ac: Ditto. * tagdemo/configure.ac: Ditto. * ltdl.m4: Mark as needing autoconf-mode in emacs. * libtool.m4: Mark as needing autoconf-mode in emacs. Don't add () to AS_MESSAGE_LOG_FD. * libltdl/configure.ac: Use config-h.in as template for config.h. * tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move AC_LANG([C++]) after the OBJEXT/EXEEXT check.
* tests/suffix.test: Typo in 2nd for loop. From Tim Van Holder <tim.van.holder@pandora.be>
From Tim Van Holder <tim.van.holder@pandora.be> * libltdl/Makefile.am (OBJECTS): This was an implicit variable. instead state the list of object variables explicitly.
From Bruno Haible <haible@ilog.fr> * libtool.m4: undefine the m4 builtin `symbols', so that the string `symbols' can be used in the rest of the code without causing errors with autoconf-2.13.
From "Golubev I. N." <gin@mo.msk.ru> * tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.
* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1 does use symbols from libsub.la -- only platforms that allow undefined symbols in libraries were able to cope with this previously. Reported by Robert Collins <robert.collins@itdomain.com.au>
From "Golubev I. N." <gin@mo.msk.ru> * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs -wl,-Bexport to make self dlopen work.
From Alexander Bluhm <Alexander.Bluhm@WiredMinds.de> * libltdl/ltdl.c (lt_dlopen): Fix bad memory initialisation assumptions.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE) [HPUX]: Define lt_cv_sys_global_symbol_to_c_name_address to be a sed expression for mangling the output of the symbol pipe into a brace delimited C declaration of symbol name and address. * ltmain.in: Use it to generate the fooS.c symbol name Reported by Albert Chin-A-Young <china@thewrittenword.com>
* bootstrap: Use cp instead of ln -s, for systems without symlinks. Reorder the statements to avoid repetition outside the loop.
* tagdemo/configure.ac, tagdemo/configure.in: USe the former instead of the latter.
typo.
Libtool now builds with the help of Autoconf-2.50! * configure.ac (AC_PREREQ): Require Autoconf-2.50 or newer. (AC_PROG_CPP, AC_EXEEXT, AC_OBJEXT): Removed. Autoconf-2.50 doesn't have the AC_REQUIRE bug that required these to be called explicitly from here. Autoconf-2.50 uses this file instead of... * configure.in: ...this, which is now deleted. * cdemo/configure.ac, cdemo/configure.in: Ditto. * demo/configure.ac, demo/configure.in: Ditto. * depdemo/configure.ac, depdemo/configure.in: Ditto. * libltdl/configure.ac, libltdl/configure.in: Ditto. * mdemo/configure.ac, mdemo/configure.in: Ditto. * pdemo/configure.ac, pdemo/configure.in: Ditto. * libltdl/acconfig.h: Deleted. * Makefile.am (libtool): libtool now depends on configure.ac. * libtool.m4 (_LT_AC_LOCK): Use 2.50's AC_LANG_PUSH/AC_LANG_POP instead of 2.13's AC_LANG_SAVE/AC_LANG_RESTORE. (AC_LIBTOOL_LANG_C_CONFIG): Ditto. (AC_LIBTOOL_LANG_CXX_CONFIG): Ditto. * libtoolize.in: Use $configure_ac, instead of hardcoding configure.in.
* pdemo/Makefile.am: Use '=' isntead of '+=' to shut up automake.
typo.
* NEWS: Updated. * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]: Improved support for various openbsd platforms. (AC_LIBTOOL_PROG_LD_SHLIBS): Ditto. * ltmain.in: Ditto,
* NEWS: Updated. * libltdl/ltdl,c (LT_DLMUTEX_LOCK): Renamed from MUTEX_LOCK to avoid potential namespace clash. (LT_DLMUTEX_UNLOCK, LT_DLMUTEX_SETERROR, LT_DLMUTEX_GETERROR): Ditto. (lt_dlmutex_lock_func): Renamed from mutex_lock to avoid a namespace clash of NCR MP-RAS. (lt_dlmutex_unlock_func, lt_dlmutex_seterror_func, lt_dlmutex_geterror_func): Ditto. Reported by Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* libltdl/ltdl.c (LT_DLSTRLEN): Call strlen only if the argument is non-NULL and non-zero in length. Changed all calls to strlen appropriately.
* libltdl/ltdl.c: Prototype all static functions.
* ltdl.m4: Bump serial number to 3. (AC_LIB_LTDL): Require AC_HEADER_DIRENT for ltdl.c. * libltdl/ltdl.h (lt_dlforeachfile): Prototype for new function. * libltdl/ltdl.c: Include an appropriate header for the opendir/dirent api. (foreach_dirinpath): Visit each file in a list of directories. (find_file_callback): Factor out the core of find_file() to make use of foreach_dirinpath(). (find_file): Use it! (find_handle_callback, find_handle): Ditto. (lt_dlforeachfile): New function to find files in a searchpath.,, (foreachfile_callback): ...using this callback. * doc/libtool.texi (Libltdl interface): Document new lt_dlforeachfile api call.
* THANKS: Aded Albert Chin-A-Young.
* libtool.m4 (IFS): When IFS is changed to split a string for examination in a loop, restore it inside the loop as well as outside incase IFS is needed by commands in that loop. Reported by Pavel Roskin <proski@gnu.org>
* libtool.m4: Prefer shl_load to dlopen on HP-UX because dlopen won't work properly without a patch.
* libtool.m4 (ltdll_cmds): [$]0 doesn't appear to translate through the script correctly, change to $''0
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for mips-*-linux* and mipsel-*-linux*.
* libtool.m4 (AC_LIBTOOL_SETUP): Remove failed try to transform linux to linux-gnu in $host. (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Match $host_os against linux*, not linux-gnu*. (AC_DEPLIBS_CHECK_METHOD): Likewise.
* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Set PATH_SEPARATOR appropriately if it is not set already, (_LT_AC_TAGCONFIG): Use it. (AC_ENABLE_SHARED): Ditto. (AC_ENABLE_STATIC): Ditto. (AC_ENABLE_FAST_INSTALL): Ditto. (AC_PATH_TOOL_PREFIX): Ditto. (AC_PATH_MAGIC): Ditto. (AC_PATH_PROG_NM): Ditto. From Tim Van Holder <tim.van.holder@pandora.be>: * libtool.m4: Use the canonical absolute path test ([\/]* | ?:[\/]) and $PATH_SEPARATOR wherever appropriate. (AC_LIBTOOL_PROG_CC_PIC): Properly recognize DJGPP as a platform that doesn't support shared libraries. (AC_LIBTOOL_SYS_MAX_CMD_LEN): Avoid this test on DJGPP; use a fixed value (12K) instead. (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't forget $ac_exeext when testing for link success.
* configure.in (AM_INIT_AUTOMAKE): Bumped version to 1.4a.
Complete the new configure time tags creation facility based on the ltcf-*.sh and ltconfig.in files from multi-language-branch: * libtool.m4: More refactoring and reformatting. (_LT_AC_LANG_GCJ_CONFIG): Merged ltcf-gcj.sh from multi-language-branch. (_LT_AC_LANG_CXX_CONFIG): Merged ltcf-cxx.sh from multi-language-branch. * configure.in (AC_PROG_CXX, LT_AC_PROG_GCJ): Compiler checks must be done before AC_PROG_LIBTOOL which appends tags based on their results.
* docs/libtool.texi: Updated the libltdl interface documentation to bring it up to date.
* demo/Makefile.am (objdir): Use `libtool --config' for extracting configuration values, since a given value may be present in each tag. (hc-libpath): Ditto. (hc-minusL): Ditto. * libtool.m4 (_LT_AC_TAGCONFIG): Add tagged configurations from the --with-tags option. (_LT_AC_LTCONFIG_HACK): Factored out into separate configuration macros -- The interdependencies and running order are still immutable, and need a lot of work to fix. (AC_LIBTOOL_CONFIG): Taken from the previous incarnation of _LT_AC_LTCONFIG_HACK -- this macro is used both to create the primary (C language) libtool configuration from _LT_AC_LTCONFIG_HACK and also to append tagged configurations from _LT_AC_TAGCONFIG. * NEWS: Merged from multi-language-branch.
Changed the date in the last commit, my bad.
* bootstrap: Added tagdemo and pdemo tests from multi-language-branch. * configure.in: Added pdemo and tagdemo to CONF_SUBDIRS and merged references to CXX and GCJ from multi-language-branch. *pdemo: Added test directory from multi-language-branch. *tagdemo: Added test directory from multi-language-branch. *tests/Makefile.am: Merged additional tests from multi-language-branch. *tests/pdemo-*.test: ditto. *tests/tagdemo-*.test: ditto.
* libtool.m4: Merged ltconfig.in from multi-language-branch.
* libtool.m4: Reformatting for consistency, and some refactoring in preparation for ltcf-*.sh merge.
* ltmain.in: Merged from multi-language-branch. * libtool.m4: Merged from multi-language-branch. * ChangeLog: Started afresh. Old ChangeLog history moved to... * ChangeLog.1: ...here.
* configure.in: Reverted to 1.4, to avoid confusion with MLB. Mainline is the release snapshot, except for the ChangeLog version number, until the multi-language branch is merged into it.
* configure.in: bumped version to 1.4a.
GNU libtool 1.4 was released. * configure.in: Bumped version to 1.4. * config.sub, config.guess: Synchronised from ftp.gnu.org. * NEWS: updated.
* libtool.m4: Support $host_os as /sysv5uw7*/ from newer config.guess in addition to older /unixware*/. Use compiler driver, not linker, for linking shared libraries.
Blank lines should only be used to separate distinct commits.
* libtool.m4, ltmain.in, libltdl/configure.in, tests/quote.test: Remove stale references to ltconfig.
* ltdl.m4 (AC_C_INLINE): No longer required. * libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim, free_vars): Revoke inline keyword from declarations. `static inline' is not very portable, and in addition Unixware 7.1.1's compiler says you can't access static variables from inline functions. Reported by Peter Eisentraut <peter_e@gmx.net>
* libtool.m4: Handle case where /bin/nm -p outputs multiple symbol types (like under HP-UX 11.00).
* TODO: describe problems with libltdl * ltmain.in (ILD): tidy up, add comments, remove dead code, merge duplicate code * ltmain.in (ILD): don't touch newdependency_libs after scan or dlopen pass * ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened module (remove absolutely wrong quick hack) * ltmain.in (ILD): remove wrong comments about duplicate removal * ltmain.in (ILD): build a static-only module if it has static libraries in its dependencies (so that libltdl can safely load dependency_libs) * ltmain.in (argument parsing): prefix comparsions of -l args with X, replace -lc with `-framework System' _after_ the ILD passes * ltmain.in (argument parsing): support dl[pre]open for both .o and .lo files * ltmain.in (deplibs_check): use portable test syntax * ltmain.in (help): document -prefer-[non-]pic flags * ltmain.in: improve readablity by adding some comments, rename uninst_* to notinst_* (more adequate name)
* doc/PLATFORMS: More updates from subscribers to libtool@gnu.org.
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> * tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test scripts get the same make that was used in the top level directory.
* doc/PLATFORMS: Updated with more platforms successfully tested by members of libtool@gnu.org.
* doc/PLATFORMS: With this patch, freebsd4.3 passes the test suite. * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules are left.
* doc/PLATFORMS: With this patch, my Solaris boxes now pass the test suite, Yay! From Albert Chin-A-Young <china@thewrittenword.com> * ltmain.in: `test -L' is not portable, and infact breaks uninstall mode on Solaris. Fallback to `test -h' and finally `test -f', but be careful not to let the failure status cause libtool to stop.
* ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while checking for dlsym _. From Simon Spero <ses@ibiblio.org>
From Simon Spero <ses@ibiblio.org> * libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
* TODO: Make a note to undo this later. From Christoph Pfisterer <cp@chrisp.de> * libtool.m4: Use $() execution substitution quotation to work around zsh builtin echo escape removal.
* bootstrap: Allow overriding the location aclocal, automake, autoconf, autoheader from the environment.
* demo/Makefile.am: Automake 1.4e does not allow `+=' assignments if the variable was not set with `=' earlier. `+=' was not useful here anyway.
* ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must check for that here. * libltdl/ltdl.c (HAVE_SYS_DL_H): Include it if necessary for the dlopen loader. Reported by Matthew Schalit <mschalit@pacbell.net>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for various releases of UnixWare and OpenServer that support it. Reported by Matthew Schalit <mschalit@pacbell.net>
* doc/PLATFORMS: Updated with various platforms successfully tested by members of libtool@gnu.org.
* TODO: propose pkg-config merge.
* ltmain.in: Correct an error in yesterday's patch.
* libtool.m4: Improve NetBSD support. * ltmain.in: ditto.
* libtool.m4: Build standard shared libraries on AIX POWER more like AIX does, with a shared object archived into lib<xxx>.a. On AIX -bexpall flag does strange things... Don't use it. Fix quotes around -berok flag. Add support for AIX 5. Add support for run time linking on AIX POWER. (should work on AIX 4.2 and up). Turn this feature on by adding -brtl flag to LD_FLAGS. Add support for AIX on IA64. Note: AIX on IA64 uses a SYSV type linker. Add a comment telling what to do if the TOC starts getting too large on AIX. * NEWS: mention aix5 support.
* TODO: Add -L- flag.
* libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs.
* AUTHORS: Added myself to the list of maintainers.
* libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
to pass -rpath when compiling with gcc.
Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self' module, since HPUX adds module symbols into the `self' pool if it is opened later. Return the cached pointer if the caller subsequently tries to open `self'. (sys_shl_sym): Diagnose NULL modules.
From Peter Eisentraut <peter_e@gmx.net> * ltmain.in (clean,uninstall): test -e is not portable. Well, neither is -L, but I'm hoping that redirecting error messages to /dev/null and relying on non-zero exit status will work okay on the few hosts that don't support -L.
* ltmain.in: Improve check for valid -version-info parameter.
From Nick Hudson <skrll@netbsd.org> * doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it is included in the distribution.
* ltmain.in (clean,uninstall): Do not error if the file doesn't exist and 'rm -f' was used. Exit with status 1 on error.
* ltmain.in: Implement a new deplibs_check_method called match_pattern that does pattern matching on filenames... * libtool.m4: ...use it with NetBSD
* doc/libtool.texi (Multiple dependencies): A note about the problems I've reintroduced by reverting the my patch of 2001-03-31.
From Edward Lee <tailbert@yahoo.com> * libtool.m4: Typos.
* tests/Makefile.am (TESTS): Delete references to depdemo-dups.test. * tests/depdemo-dups.test: Removed, as part of the patch reversion below. * ltmain.in: Revert my change from 2001-03-31. Although it was technically correct, it opens a whole can of worms we don't want to deal with right now.
From Ahmed Masud <masud@googgun.com> * libltdl/ltdl.c (sys_shl_open): Return a NULL module handle for self opening. (sys_shl_close): Be careful not to close a NULL module handle. (sys_shl_sym): Allow shl_findsym() to open NULL modules, but discard the modified module address it returns.
* libltdl/ltdl.c (lt_dlopen): When reading the .la file, reallocate the line buffer size if the line overflows the original buffer. Reported by Nick Hudson <skrll@netbsd.org>
* NEWS (1.3d) Removed bogus ltconfig reference.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious `dnl' from the help text of --with-pic. Reported by stefan <stefan@lkcc.org>
* configure.in: bumped version to 1.3e.
* NEWS: inserted todays date.
* libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly hardcodes the library path and adds versioning. Other small fixes. * ltmain.in: Fixed special cases for libc and libm on Rhapsody and Darwin. One of them was misplaced. Added version_type case for Rhapsody and Darwin, named "darwin".
* ltmain.in: Remove the code for stripping duplicate deplibs from libtool link lines -- duplicates are somtimes necessary to satisfy inter-library dependencies, and never cause link to fail even if they are spurious. * tests/depdemo-dups.test: New file. Make sure this bug doesn't creep back in again! * tests/Makefile.am (TESTS): Use the new test above.
* libltdl/ltdl.c: Use windows paths while calling LoadLibrary.
* libtool.m4: Generate dll/import libraries for cygwin according to the following: libFOO.a (static lib), libFOO.dll.a (import lib), cygFOO-version.dll (dll). Update postinstall_cmds and postuninstall_cmds to reflect this. * ltmain.in: Generate installed .la files with dlnames set to ../bin/cygFOO-version.dll for normal dlls. dlls for modules remain with the .la file.
* libtoolize.in: change recommendation from AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.
* libtoolize.in: Check configure.ac and prefer configure.ac to configure.in.
* libtool.m4 (save_CPPFLAGS): Fix typo.
* libtool.m4 (lt_cv_compiler_c_o): Cache it. (lt_cv_compiler_o_lo): Likewise.
* ltmain.in (clean): Automatically remove $objdir (usually '.libs').
* ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted in yesterday by mistake.
From Tor Lillqvist <tml@iki.fi> * libtool.m4 (export_symbols): On Windows, if the export_symbols file (which has been passed to libtool with the -export-symbols command line switch) already is a .def file, use it as is.
* libtool.m4 (library_names_spec): Using m4 quotes correctly this time around!
* libtool.m4 (library_names_spec): Use an appropriate filename prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32. From Tor Lillqvist <tml@iki.fi>
* libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to 2.96 can't build shared libraries reliably. Disable them.
* ltmain.in: When dropping dependencies of a -no-undefined library, give up on building a shared library.
* ltmain.sh: Don't quote the argument of case/esac and assignments. * libtool.m4: Likewise.
* libtool.m4: Added explicit return type to all C functions.
* NEWS: Updated. * doc/libtool.texi (Thread Safety in libltdl): New node describing the application the new MT API. * libltdl/ltdl.h: Prototypes. * libltdl/ltdl.c: Use these functions throughout the rest of the file to provide thread locking. (lt_dlmutex_register): New function to set callbacks for multi-threaded calls into libltdl. (lt_dl_mutex_lock): Type of a locking callback function. (lt_dl_mutex_lock): Type of an unlocking callback function. (lt_dl_mutex_seterror): Type of a callback function to save the last libltdl error message in thread local storage. (lt_dl_mutex_geterror): Type of a callback function to retrieve the last saved error message from thread local storage.
* libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned type to a negative number. Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
From Nick Hudson <skrll@netbsd.org> * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to automatically load module deplibs without assistance from libltdl.
* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset, even when deplibs are not used because of the patch below.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host architecture automatically loads deplibs, then... * libltdl/ltdl.c (load_deplibs): ...don't manually load each one.
* TODO: Updated.
* libltdl/ltdl.c (load_deplibs): If loading a deplib fails, don't sweat -- it may be a lib that is already statically linked into the loading application. * libltdl/ltdl.c: Clean up the shadowing of the global handles variable. (LT_DLRESIDENT_FLAGS): Add extra parens to satisfy -Wall. (load_deplibs): Cast isspace() argument to an int to satisfy -Wall.
Added myself to the list of maintainers in AUTHORS.
* libltdl/Makefile.am (CLEANFILES): Clean conditionally-built libraries.
* libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types.
* NEWS: Updated. * doc/libtool.texi (User defined module data): Updated. * libltdl/ltdl.c (lt_dlhandle_next): New function. * libltdl/ltdl.h (lt_dlhandle_next): Prototypes.
* NEWS: Updated. * doc/libtool.texi (User defined module data): Document it all. * ltdl.m4: Check for memcpy, or else bcopy. * ltdl.c (lt_caller_data): New type. (lt_dl_handle_struct): Add an lt_caller_data field. (lt_dlcaller_register, lt_dlcaller_set_data, lt_dlcaller_get_data): New functions. (rpl_memcpy): A minimal fallback implementation. (rpl_realloc): A realloc implemented with lt_dlmalloc and lt_dlfree. (LT_DLMALLOC, LT_DLFREE, LT_DLREALLOC, LT_DLMEM_REASSIGN): New memory handling convenience macros. Use them appropriately throughout the rest of this file. * ltdl.h (lt_dlcaller_register, lt_dlcaller_set_data, lt_dlcaller_get_data): Prototyped.
* libltdl/ltdl.h: formatting change.
From vvv@vsu.ru: * doc/fdl.texi (GNU Free Documentation License): contained @bye command which prevented part of document to be generated (indices, etc). * doc/libtool.texi (Dlpreopening): the @deftypevar did not contain a space after a type.
* libtool.m4: s/[ t]*$// * libtool.m4 (OSF/1): Revert my patch of 2000-12-16.
* libltdl/ltdl.c (lt_dlexit): Was checking for residency of the wrong module. Reported by Robert Boehne <rboehne@ricardo-us.com>
* ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch below can detect preopened library deplibs correctly in libltdl, we need to ensure that libtool library deplibs are also preloaded into the binary for that phase to work.
* libtool.m4 (OSF/1): Change the way to pass linker flags through compiler on a Tru64 machine.
* libtool.m4 (sys_lib_search_path_spec): Use test instead of `['. (archive_cmds): And another one.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from sequent, ncr and newos6 back into here from other macros.
* libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the last patch.
* libtool.m4: (dyld/darwin*) Much improved port. * ltmain.in: (dyld/darwin*) Much improved port.
* libtool.m4: Accept darwin as an alias for rhapsody. * ltmain.in: ditto.
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20 methods to check for library dependencies on HPUX 11.
* libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support for NetBSD a.out.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename `ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'. Similarly with `lt_cv_global_symbol_to_cdecl (_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic', `ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static', `ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared', `ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'. (AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD' (AC_PROG_LD) <ac_cv_path_LD>: Likewise. (AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise. (AC_PROG_NM) <ac_cv_path_NM>: Likewise.
* libltdl/ltdl.c (lt_dlopen): Changed "dl_dependency_libs" keyword to "dependency_libs".
* libltdl/ltdl.c (lt_dlexit): Reset the loaders value to zero when the last module has been unloaded.
* libtool.m4: Port to *-sni-sysv4 (Reliant Unix) * README: added Reliant Unix to hte list of supported platforms * doc/PLATFORMS: added note on tests on Reliant Unix
* README: Updated. * NEWS: Updated. * libtool.m4: New port to NEWS-OS Release 6.
* libtool.m4 (hardcode_libdir_flag_spec): Remove linker specification for netbsd.
* libtool.m4: Don't depend on Autoconf internals: s/ac_cv_prog_gcc/GCC/.
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty out ac_cv_global_symbol_to_cdecl inside the loop, incase we need to go around again and try with underscore prefix. (_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance) self dlclosing unloads the main program and causes a SIGSEGV. So don't do it for now.
Oh My! Cygwin support has bitrotted while I was looking the other way. This should fix it some: * libtool.m4 (extract_expsyms_cmds): There is a quoting problem with autoconf-2.13 that prevents [$]0 from expanding. Use shell quotes instead to delay eval of $0. (impgen.c) The '# ' sequence stripped by sed works again.
* doc/libtool.texi (Libltdl interface): Add documentation. * libltdl/ltdl.h (lt_dlmakeresident, lt_dlisresident): Add prototypes. (LT_DLERROR_CLOSE_RESIDENT_MODULE): New error status. * libltdl/ltdl.c (lt_dlmakeresident, lt_dlisresident): Allow making and testing of resident module status, which prevents a module from being lt_dlclosed. (lt_dlopen): If lt_dlopen()ing self, make the module resident. (lt_dlclose): Return an error if the module is resident.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen from here... (AC_LTDL_DLOPEN_SELF): ...to here. (_LTDL_AC_CHECK_DLFCN): Factor out repeated code for dlfcn.h (_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for checking dlopen status. * ltdl.m4 (AC_LIB_LTDL): Use _LTDL_AC_CHECK_DLFCN. dlopen compile time checking. Use _LTDL_AC_CHECK_DLFCN. (AC_LTDL_DLSYM_USCORE): Use _LTDL_AC_TRY_DLOPEN_SELF.
* libltdl/ltdl.h (lt_dlhandle): Rename the wrapped structure to prevent nameclash when used from C++. * libltdl/ltdl.c: Fixed all references.
* libltdl/ltdl.c (lt_dlopen): Change the default search order for modules. If the named module has no directory component, always start the search with the user_search_path directories, and then fall back on the current directory only if that fails.
* libltdl/Makefile.am (libltdl_la_LDFLAGS): increment the version number to reflect the breakage of binary compatibility. * doc/libtool.texi (Libltdl interface): Document LT_NON_POSIX_NAMESPACE. * libltdl/ltdl.h (LT_POSIX_NAMESPACE): Deleted. The default is now to use this namespace, so the cpp macro is no longer necessary.
* ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE.
* ltmain.in: Some versions of expr respond with "0" if a regexp fails to match.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and $3 in variable 'archive_expsym_cmds' for cygwin.
* ltdl.c: Relegate non-POSIX-compliant symbols (e.g. those ending in ``_t'') to deprecated #define compatibility macros. Also ease up on the namespace pollution, so that only ``lt_'' and ``LT_'' prefixes are taken from the global namespace. * ltdl.h: ditto.
* ltdl.c: Reformatted. * ltdl.h: ditto.
* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest sourcefile. * libtool.m4: Use $ac_ext and $ac_objext respectively for conftest sources and objects. Reported by Carlo Wood <carlo@alinoe.com>
* doc/fdl.texi: New file. The license for distributing the libtool manual. * doc/libtool.texi: Reference the new license.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid error output from cygpath when $srcdir is empty.
* bootstrap: rm Makefiles to prevent infinite loop during configure when libtool.m4 is newer than Makefile.
* libtool.m4: Adjust the copyright notice. Quote all the macro names when defined. Some minor formatting changes. (AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC) (AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM): Don't use indir when useless. Don't add trailing `dnl' either.
* doc/libtool.texi: Corrected nother attack of CRLF line endings.
* libtool.m4 (archive_expsym_cmds): Fix typo where line was broken in the middle of an expression.
* libtool.m4 (archive_expsym_cmds): Support for -export-symbol option on Tru64. (hardcode_libdir_flag_spec): Fixed cxx throwing error while using libtool. Done by passing -rpath directlty to the compiler.
* docs/libtool.texi: Added pointers to documentation of Hewlett-Packard, Compaq Tru64 and IBM AIX systems.
From Bruce Korb <bkorb@cruzio.com> * ltmain.in (execute_dlfiles): Reduce obfuscation.
* libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd, file_magic_test_file): Removed inappropriate duplicate definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD.
* libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
'${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
(ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
* libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of the file command use this environment variable to hold the location of the magic database. Reported by Marc Espie <Marc.Espie@liafa.jussieu.fr>
Nick Hudson requested a change of email address.
* doc/PLATFORMS: Updated. * demo/configure.in: Revert to the `libtool --features' test. * Makefile.am (libtool): This needs to rerun configure now that libtool is generated entirely by AC_PROG_LIBTOOL again. (ltconfig): Removed. (ltmain.sh): Is now regenerated when ltmain.in changes. * libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for generating libtool immediately in configure.in, rather than deferring part of the creation until config.status runs.
* bootstrap: Backed out yesterdays patch which is no longer necessary. * Makefile.am (libtool): Reworked rule for regeneration of libtool, now that it is built entirely withing config.status. (libtoolize): Tidied for orthogonality with the other generation rules. (ltconfig): This is now generated by AC_PROG_LIBTOOL, called from make by running config.status --recheck. (ltmain.sh): Moved primary generation of this file into here... * configure.in (AC_OUTPUT): ...instead of here. * libtool.m4 (AC_OUTPUT_COMMANDS): Write the config to ltconfig where it can be reused, rather than directly to libtool. * demo/configure.in: libtool is no longer present immediately after AC_LIBTOOL_M4 has completed, so the tests now grep through ltconfig instead -- which *will* be present.
* TODO: Removed the item describing the change below, and added a similar item to remind us to change the ltdl.m4 macros again when _LT_AC_LTCONFIG_HACK is divided into proper macros. * ltdl.m4 (AC_LTDL_SNARF_CONFIG): Removed. No longet required now that ltconfig has migrated to libtool.m4. (AC_LTDL_SHLIBEXT): Require _LT_AC_LTCONFIG_HACK. (AC_LTDL_SHLIBPATH): ditto. (AC_LTDL_SYSSEARCHPATH): ditto.
* ltdl.m4 (AC_LTDL_DLPREOPEN): require the libtool.m4 symbol_pipe macro. (AC_LTDL_SYMBOL_USCORE): ditto. (AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate of... * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new macro, extracted from _LT_AC_LTCONFIG_HACK.
* ltdl.m4 (changequote): An audit of changequote and m4 quote usage -- all changequotes have been removed, and some latent unquoted `[' and `]' bugs have been fixed.
* configure.in (AC_OUTPUT): ltmain.sh must be generated in the source tree since this is where it would be found in a freshly unrolled tarball.
* configure.in: Replace `dnl' comments with `#' comments for more conformity with cvs autoconf. Removed emacs hack-local-variables, since there is now a proper Autoconf major mode. Removed a couple of changequote()s.
* bootstrap (ltconfig): When bootstrapping libtool with a stock automake (i.e. without the README patch applied), references to ltconfig are manually removed from the generated Makefile.in files.
* doc/libtool.texi: Removes references to ltconfig, and a small amount of tidying up to compensate.
* libtool.m4 (netbsd): Improved support.
* ltmain.in (version_type): Use "-iface" as the windows versioning scheme, where iface is the number of the oldest interface supported.
From Paul Sokolovsky <Paul.Sokolovsky@technologist.com> * libtool.m4 (pw32): Initial support for pw32, assuming that libtool's behaviour in this environment is identical to under cygwin. * ltmain.in (pw32): ditto. * NEWS: Updated.
* libtool.m4 (changequote): An audit of changequote and m4 quote usage -- all changequotes (except a few with non-nesting square brackets) have been removed.
* Makefile.am (EXTRA_DIST): The bootstrap script should be distributed with libtool.
libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky. I just discovered that '&' needs to be escaped inside AC_TRY_EVAL.
* ltmain.in: Be careful about filenames with multiple `.'s in them when calculating file extensions. Reported by Joel Reed <jreed@support.ddiworld.com>
libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a bug in Autoconf-2.13 AC_REQUIRE implementation which inserted some of the expanded tests too early in the generaated configure. (_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines itself to an empty expansion to prevent multiple expansions. configure.in (AC_LIBTOOL_SETUP): Replaced by a call to AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked around.
libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to escape the redirections inside AC_TRY_EVAL in the need_lc tests. Doh!
libtool.m4 (_LT_AC_LTCONFIG_HACK): Forgot to redirect the output of grep to /dev/null in the need_lc tests.
configure.in (AC_PROG_LIBTOOL): Using this in libtools own configure.in interacts badly with the AC_PROVIDE calls and results in several tests being inserted into configure too early. Use AC_LIBTOOL_SETUP instead.
libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I ported from ltconfig.in was incomplete -- this is a backport of the missing code taken from the multi-language branch.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of changequote
* NEWS: Updated. * TODO: Add a reminder to get rid of ltconfig in mlb. * README: Until things even out, I have added a note and a patch to make the installed automake cooperate with the new ltconfig free libtool.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in ltmain.sh as it has not yet been set in libtool.m4. Use $ac_cv_prog_gcc instead.
* doc/PLATFORMS: Updated.
* configure.in (AC_PROG_AWK): Removed -- no longer required by the build process. * lineno: ditto.
* libtoolize.in (files): Don't try to install ltconfig -- it doesn't exist!! * bootstrap: Fake an ltconfig incase the installed automake calls an installed libtoolize (as part of its --add-missing process) which thinks ltconfig should be there.
* Makefile.am (ltmain.sh): Make this depend on TSDEPS again so that the Changelog timestamp is used for ltmain.sh at `make dist' time.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;' terminator from a case statement by mistake.
libtool.m4 now contains a version of the code that used to run from ltconfig, so that ltmain.sh and then libtool are generated at configure time. * Makefile.am: Don't generate ltmain.sh or ltconfig anymore. * bootstrap: ltconfig is no more! * configure.in: Call AC_PROG_LIBTOOL directly. (AC_OUTPUT): Generate tmain.sh. * libtool.m4: Don't build an argument list for ltconfig. (_LT_AC_LTCONFIG_HACK): Refactoring of the former contents of ltconfig.in to take advantage of the m4 macros from autoconf. * ltmain.in: Don't do a version check against ltconfig. * tests/assign.test: Remove reference to ltconfig. * tests/hardcode.test: ditto. * tests/sh.test: ditto.
* depdemo/main.c: Support -alt. * tests/build-relink2.test: Try it.
* ltconfig.in: Removed all references to what used to be hardcode_into_libs=all. 2000-09-03's patch was wrong. * ltmain.in: Likewise. * tests/build-relink.test, tests/build-relink2.test: Adjust. * mdemo/Makefile.am (lib_LTLIBRARIES): Move libsub.la before libfoo2.la, so that they're installed in the right order.
* tests/dryrun.test: Build libsub.la along with the object files, since it is needed by libfoo2.la.
* mdemo/Makefile.am: Mark only libfoo2 as -no-undefined. Explicitly link it with libsub.la.
* ltconfig.in (need_lc): Preserve allow_undefined_flag.
* tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on `. /dev/null'. Set CONFIG_SITE to /dev/null/config/site, to make sure we pick a non-existent file.
* Makefile.am (libtool, clibtool): Pass CONFIG_SHELL along with ECHO down to ltconfig.
* ltconfig.in (hardcode_libdir_flag_spec, export_dynamic_flag_spec):
Use ${wl}, not ${wlarc}.
* ltmain.in (compile, need_lock): Don't create nor remove lock files in dry runs.
* libltdl/ltdl.c (load_deplibs): Don't append shlib_ext; use lt_dlopenext() instead.
* ltmain.in (link -static): Don't add $link_static_flag; only -all-static should do that. * mdemo/configure.in: Revert part of the previous delta.
* mdemo/configure.in: Don't use -static on AIX4.1. * mdemo/Makefile.am: Likewise.
* ltconfig.in: Get rid of hardcode_into_libs=all; use hardcode_into_libs=yes && shlibpath_overrides_runpath!=yes instead. [FreeBSD 3.[01]] (shlibpath_overrides_runpath): Set to no. * ltmain.in: Likewise. * tests/build-relink.test, tests/build-relink2.test: Adjust.
* libtool.m4: Fix typo I introduced in yesterday's patch.
* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if dlname is empty.
* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld. * ltconfig.in: Likewise.
* tests/mdemo-exec.test: Modify failure message.
* ltmain.in (newdlprefiles): Use dlname if it's available and old_library isn't; use linklib only if dlname is not available.
* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
* libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL. Quote $@ properly so that the shell expands it, not m4.
* libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL can be `/path/to/shell -x'.
* tests/quote.test: Move the match test out of case statements, to work around bug in /bin/sh of several OSs.
* ltmain.in (variables_saved_for_relink): Attempt to unset them instead of setting them to an empty string.
* ltconfig.in [with_gnu_ld] (archive_cmds, archive_expsym_cmds) <solaris*, sysv5*, beos*>: Use compiler_flags instead of linker flags. Reported by Alex Hornby <alex@anvil.co.uk>
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo, add support for compact format library.
* ltdl.m4: Oops, I had forgotten to commit this part of Syd Polk's patch from 2000-06-17.
* libtool.m4: Ignore Tru64's nm's complaint.
* ltconfig.in: only load $cache_file if it's a regular file
* ltconfig.in: Add back ranlib calls for static libraries if there is a ranlib.
Move the echo detection code to a macro in libtool.m4. The code at the top ofltconfig.in is ugly, but will go away when the rest of ltconfig is migrated. * Makefile.am (libtool): Pass the value of $ECHO to ltconfig as an environment variable. * libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value correctly so that it inserts the correct code into configure.in suitably quoted for M4 expansion. This code needs to be near the top of configure.in as it calls itself recursively, so I am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS Autoconf). The value of ECHO is also substitued into the Makefile to be used when Make calls ltconfig to generate libtool, so another layer of quotation is required for the Makefile. (AC_LIBTOOL_SETUP): Use it. * ltconfig.in: Accept a value for ECHO from the environment, and carefully substitue for $0 if it is present in the ECHO value. Because ECHO was quoted for Make, when ltconfig is called by configure, it is overquoted, and one layer of quotes must be stripped.
typo
* ltconfig.in (with_gcc): Make the value of this option available to the generated libtool script. * ltmain.in (compile_command, finalize_command): The native C and C++ compilers on IRIX require the -LANG:std in order to to compile correctly. The same options should _not_ be passed through to gcc on IRIX, or at all on other architectures for backwards compatibility (among others). Reported by Bob Freisenhahn <bfreisen@simple.dallas.tx.us> Reported by Albert Chin-A-Young <china@thewrittenword.com>
* ltconfig.in (old_reload_flag): typo.
* ltmain.in (shtool): Use echo|grep instead of expr, as in the original patch.
* ltconfig.in (need_lc): Fix test message.
* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic. (NetBSD, file_magic_cmd, file_magic_test_file): Set.
* ltmain.in (irix, major): Prepend a `.'. * ltconfig.in (irix, soname_spec, library_names_spec): Adjust.
* ltmain.in: Support GNU shtool's install.
* ltconfig.in (linkopts): Don't set for test.
typo
* ltconfig.in (linkopts): Replace with linker_flags.
* ltmain.in (ILD): Fix addition of deplibs in relink case.
* ltconfig.in: Check if -lc is necessary for building shared libary. Set build_libtool_need_lc to indicate it. * ltmain.in: Add -lc when building shared libary only if necessary.
* libtool.m4 (AC_PROG_NM): Fix macro so that it finds a cross NM on the PATH.
* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not by Compaq C++ compiler
* ltconfig.in (wlarc, netbsd, aout): Set to empty. (hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use it.
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable shared libraries just because of MkLinux.
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend on $version_type; check for ELF support as in other BSDs.
* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based on target; use host instead.
* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when the echo probing code falls into this branch without setting this variable.
* ltconfig.in (netbsd*): archive_cmds and archive_expsym_cmds were reversed with respect to definition of __ELF__. From Keisuke Inoue <keisuke@csl.sony.co.jp>
* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for freebsd (below). * libtool.m4 (netbsd ELF): support file_magic. From Dan Winship <danw@helixcode.com>.
* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd command. Under BSD/OS 4.1 several libraries are now symlinks rather than regular files. Adding -L tells the file program to follow the symlink.
* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
* NEWS: Updated. * libtool.m4 (i*86-*-freebsd*): Support a.out shared libs. From <suzukis@file.phys.tohoku.ac.jp>
Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos: * ltconfig (old_AR_FLAGS): Add. (old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru". (archive_cmds): Use AR_FLAGS rather than hardcoding "cru". (AR_FLAGS): Default to "cru" if not set.
* ltconfig.in (echo): The following code actually prints the
double quotes -- so I removed them:
echo='printf "%sn"' $echo 't'
From Tuukka Toivonen <tutoivon@mail.student.oulu.fi>
* NEWS: Updated.
* libtool.m4: adding ia64 as supported linux platform
* ltmain.in: fix quoting for $var_value.
* ltconfig.in: check for dlfcn.h: include return value to make -Wall in CFLAGS work.
* README-alpha: note new location of config.(guess|sub).
* ltconfig.in (rhapsody*): New Port. * ltmain.in (rhapsody*): ditto.
* ltconfig.in (*-sequent-sysv4): New Port.
* ltmain.in: cygwin-1.1.0 and higher no longer grok backslash path separators.
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir. * mdemo/configure.in: Remove comments on AC_LIBLTLD_CONVENIENCE.
* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from... (AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid effects of multiple runs.
* NEWS: update * doc/libtool.texi (libltdl): rename lt_(find|next|add|remove)_dlloader to lt_dlloader_* * libltdl/ltdl.c: ditto * libltdl/ltdl.h: ditto, add declaration of lt_dlloader_(find|remove)
* libltdl/ltdl.c: Typo.
* libtool.m4 (AC_LIBTOOL_SETUP): CVS autoconf no longer sets target to "NONE", but to an empty string.
* ltdl.c: support lt_dlopen(0) for win32
* doc/libtool.texi (libltdl): fix typos,
INCLTDL starts with top_srcdir, replace NULL with @code{NULL}
* ltmain.in (ILD): search in newlib_search_path, too
* ltmain.in (ILD): fix bugs in conv pass, expand convenience
libs to deplibs and link them later on
* ltmain.in (ILD): don't allow convenience libs to be
-dlopen/preopen'ed
* ltmain.in (ILD): it's not required to link all deplibs
in fast-install mode
* ltmain.in (ILD): if hardcode_into_libs=all, only relink
a library if it is linked against uninstalled libtool libraries,
rename link_against_libtool_libs to uninst_deplibs
* ltmain.in (ILD): tidy up, add some comments
* libtool.m4 (hpux10.20*): use file_magic for inter-library dependency tracking.
* AUTHORS: Update my email address. * commit: ditto.
* NEWS: update * libtool.m4: add AC_LIBTOOL_PICMODE * ltconfig.in: move pic_mode checks to ltmain.in * ltmain.in: add -prefer-pic and -prefer-non-pic
* ltmain.in (tmpdir): Do not accept an existing directory, and force its mode to 700, for security reasons. Reported by Joseph S. Myers <jsm28@cam.ac.uk>
* NEWS: reformatting * ltmain.in (ILD): add extra convenience library scanning pass * ltmain.in (ILD): accept -R flags for libraries, too * ltmain.in (ILD): correclty merge the dlpreopened libraries with deplibs * ltmain.in (install mode): remove directories from filenames before relinking (reported by Elrond <Elrond@Wunder-Nett.org>) * doc/libtool.texi (libltdl): rename Library -> Lesser, clarify exception clause * libltdl/ltdl.c, libltdl.h (License): ditto
* ltconfig.in (variables_saved_for_relink): Set to `PATH $shlibpath_var $runpath_var'. If with_gcc, add gcc-related environment variables. Add it to the configuration section. * ltmain.in (relink_command): Expand those variables.
* ltconfig.in: added main() definition in compile check for header `dlfcn.h' to fix link errors when built with Sun Workshop Pro CC 4.2 (and perhaps others).
* libltdl/ltdl.c (lt_find_dlhandle): Deleted. This was B.S. far cleaner to use lt_dlforeach and lt_dlgetinfo. * libltdl/ltdl.h: Prototype deleted. * doc/libtool.texi: Documentation deleted. * NEWS: annoncement deleted.
* ltmain.in: remove duplicates from deplibs, handle interdependent libraries (e.g. -la -lb -la), this requires adding deplibs in reverse order * ltmain.in: link dlpreopened libraries before other libraries (reported by Pavel Roskin) * mdemo/Makefile.am: build and link libsub.la * mdemo/sub.c: new file used by both dlopened modules * mdemo/foo*: use sub() defined in libsub * tests/dryrun.test: build libsub.la * mdemo/Makefile.am: always link mdemo.static with -static * mdemo/configure.in: ditto * ltmain.in: fix dlopen/dlpreopening of objects * ltmain.in (ILD): fix misplaced `continue' in -R* argument handler * ltmain.in: merge duplicated code of clean and uninstall mode * libtool.m4: recognize powerpc*linux* (reported by Dirk A. Mueller <dmuell@gmx.net>)
* ltconfig.in (old_MAGIC, old_STRIP, old_reload_flag, old_deplibs_check_method, old_file_magic_cmd): New variabes. Treat these as old_CC etc. (STRIP, MAGIC): Create and set these variables in the generated libtool script. Reported by Pavel Roskin <pavel_rosin@geocities.com>
* configure.in: Due to a bug in autoconf-2.13 implementation of
AC_SUBST, `AC_SUBST(FILE)' can never work. Use MAGIC as the
holder of the command to run in file_magic_cmd instead.
* ltconfig.in: s/FILE/MAGIC/g.
* libtool.m4 (AC_PROG_LIBTOOL): set MAGIC in the environment when
calling ltconfig.
(AC_PATH_MAGIC): renamed from AC_PATH_FILE.
(AC_PATH_TOOL_PREFIX): s/FILE/MAGIC/g. Also set file_magic_cmd
to '${MAGIC}' so that make can grok it.
* Makefile.am (libtool):
(clibtool): ditto.
* libltdl/ltdl.c (lt_find_dlhandle): New function. (tryall_dlopen): Use it. * libltdl/ltdl.h: Prototype it. * doc/libtool.texi: Document it. * NEWS: updated.
* libltdl/ltdl.c (lt_remove_dlloader): typo, s/=/==/g.
* libltdl/ltdl.c (lt_dlinit): removed unused variable, `loader'.
* libltdl/ltdl.h (lt_dlloader_data_t): New type for loader instance data. (lt_user_dlloader): New lt_dlloader_data_t field. (lt_module_open_t): Add lt_dlloader_data_t parameter. (lt_module_close_t): Add lt_dlloader_data_t parameter. (lt_find_sym_t): Add lt_dlloader_data_t parameter. (lt_dlloader_exit_t): Add lt_dlloader_data_t parameter. * libltdl/ltdl.c: A sprinkling of /*ARGSUSED*/ markers to reassure lint that the unused arguments are intentional. (lt_dlloader_t): New lt_dlloader_data_t field. (lt_dlloader_data): New function to return the contents of the dlloader_data field. (sys_dl_open): Take an additional lt_dlloader_data_t argument. (sys_dl_close): Ditto. (sys_dl_sym): Ditto. (sys_dl): Initialise lt_dlloader_data_t field. (sys_shl_open, sys_shl_close, sys_shl_sym, sys_shl): As above. (sys_wll_open, sys_wll_close, sys_wll_sym, sys_wll): As above. (sys_bedl_open, sys_bedl_close, sys_bedl_sym, sys_bedl): As above. (sys_dld_open, sys_dld_close, sys_dld_sym, sys_dld): As above. (presym_init, presym_exit, presym_open, presym_close, presym_sym, presym): As above. (lt_dlinit): Call presym_init with additional argument. (lt_dlexit): Call dlloader_exit method with additional argument. (tryall_dlopen): Call module_open method with additional argument. (lt_dlclose): Call module_close method with additional argument. (lt_dlsym): Call find_sym method with additional argument. (lt_add_dlloader): Initialise dlloader_data field. (lt_remove_dlloader): Call dlloader_exit method with additional argument.
* libltdl/ltdl.c (find_file): Prevent early release of memory in filename/*pdir. From Jon Leichter <jon@symas.com>
(sys_wll_init): Deleted. No longer required. And this time, with feeling! (sys_wll_exit): Ditto.
* NEWS: updated. * doc/libtool.texi (Libltdl interface): Moved user defined module loader documentation from here... (Module loaders for libltdl) ...to here, and updated the text and added examples. * ltdl.m4 (AC_CHECK_FUNCS): check strcmp for lt_find_dlloader. * libltdl/ltdl.h: Reformatted and commented for readability. (struct lt_user_dlloader): New data type for passing initialisation pointers to lt_add_dlloader. (LTDL_ERROR_INVALID_LOADER): New error message when non loader handles are passed to the user loader API. (LTDL_ERROR_INIT_LOADER): New error when loader initialisation fails. (LTDL_ERROR_REMOVE_LOADER): New error when loader removal fails. (lt_module_open_t): renamed from lt_lib_open_t. (lt_module_close_t): renamed from lt_lib_close_t. (lt_dlloader_exit_t): renamed from lt_dlloader_exit_t. * libltdl/ltdl.c: Reordered builtin loaders so that the "dld" loader no longer occurs before "dlopen" on some platforms and after it on others. (lt_dlloader_t): Moved here from ltdl.h, added a field, "loader_name", for identifying the loader, and renamed from lt_dltype_t. Renamed type variables to loader IFF of type lt_dlloader_t. (lt_module_t): Renamed from lt_syshandle. Renamed handle variables to module IFF of type lt_module_t. (LTDL_TYPE_TOP): Deleted. No longer required. (sys_dl): Initialised as a struct lt_user_dlloader. (sys_dl_init): Deleted. No longer required. (sys_dl_exit): Ditto. (sys_shl): Initialised as a struct lt_user_dlloader. (sys_shl_init): Deleted. No longer required. (sys_shl_exit): Ditto. (sys_wll): Initialised as a struct lt_user_dlloader. (sys_wll_init): Deleted. No longer required. (sys_wll_exit): Ditto. (sys_bedl): Initialised as a struct lt_user_dlloader. (sys_bedl_init): Deleted. No longer required. (sys_bedl_exit): Ditto. (sys_dld): Initialised as a struct lt_user_dlloader. (sys_dld_init): Deleted. No longer required. (sys_dld_exit): Ditto. (sys_presym): Initialised as a struct lt_user_dlloader. (lt_mod_init_t): Moved to here from ltdl.h. (lt_dlinit): Add builtin loaders using the user loader API. (lt_dlexit): Unregister and free all loaders. (lt_add_dlloader): New function to add a new module loader after the loader specified in the argument. (lt_remove_dlloader): New function to remove a module loader. (lt_next_dlloader): New function for iterating over module loaders. (lt_dlloader_name): Accessor function for name of dlloader. (lt_find_dlloader): New function to get a reference to a registered module loader. (strcmp): static implementation incase the host has none. (lt_dlgettypes, lt_dlsettypes): Removed.
* libltdl/ltdl.c: replace NULL with 0, remove unused system and app_private pointers from lt_dlhandle_t * libltdl/ltdl.c (presym_add_list): new preloaded symbols don't need to be added to the end * libltdl/ltdl.c (lt_dlgetdata, lt_dlsetdata): removed * libltdl/ltdl.h: ditto * doc/libtool.texi (libltdl interface): ditto
* ltmain.in: support -dlopen/dlpreopen for libraries * NEWS: updated * TODO: updated * ltmain.in: rename dlopen to dlopen_support * ltconfig.in: ditto * doc/libtool.texi: ditto * ltmain.in: check whether libraries are moved out of $libdir, replace .a and .lib with .$libext, .o and .obj with .$objext
* libltdl/ltdl.h (lt_dlrealloc): removed declaration. * libltdl/ltdl.c (lt_dlrealloc): removed definition. (lt_dladderror): Instead of calling lt_dlrealloc, use lt_dlmalloc, and lt_dlfree.
* libtool.m4 (lt_cv_cc_needs_belf): Set the test language to C prior to executing the test that checks if the C compiler needs "-belf." Reported by Chris Butler <chrisb@sandy.force9.co.uk>
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use changequote to protect `[' and `]' in deplibs_check_method.
* libltdl/ltdl.h (lt_dlrealloc): Added declaration. * libltdl/ltdl.c (lt_dlrealloc): Added default definition.
* libltdl/ltdl.c (lt_dlseterror): Catch errorcodes below 0 as invalid. * libltdl/ltdl.h (LTDL_ERROR): Added missing '_' in K&R definition.
* libltdl/ltdl.h (ltdl_error_table): Added missing error code, and fixed typo in another code. * doc/libtool.texi (Libltdl interface): Added missing @end clause.
* ltconfig.in: Oops, replace the remaining $objdir's * ltmain.in: merge library linking code of programs and libraries, some cleanups
* NEWS: Updated. * doc/libtool.texi (Libltdl interface): Document new entry points. * libltdl/ltdl.c (lt_dladderror): New function to add a user defined error message to the tables used by lt_dlerror(). (lt_dlseterror): New function to allow setting of last_error by user modules. (ltdl_error_strings): New preprocessor generated table of internal error diagnostic strings. (user_error_strings): New internal list of registered user error diagnostic strings. (throughout!): Use error messages from ltdl_error_strings. * libltdl/ltdl.h (ltdl_error_table): New macro to tabulate internal diagnostic error strings alongside enum keys.
* NEWS: Updated. * doc/libtool.texi (Libltdl interface): Document new entry points. * libltdl/ltdl.c (lt_dltype_t): Use new type definitions for existing fields. (lt_dladdtype): New function to add a new ltdl dynamic loader type to the end of the list of valid types.. (lt_dlgettypes): New function to return the complete list of ltdl dynamic loader types. (lt_dlsettypes): New function to replace the list of ltdl dynamic loader types entirely -- e.g. to prepend a new type to the existing list. (sys_dl_open, sys_dl_close, sys_dl_sym): Work with lt_syshandle.. (sys_shl_open, sys_shl_close, sys_shl_sym): ditto. (sys_dld_open, sys_dld_close, sys_dld_sym): ditto. (sys_wll_open, sys_wll_close, sys_wll_sym): ditto. (sys_bedl_open, sys_bedl_close, sys_bedl_sym): ditto. (presym_open, presym_close, presym_sym): ditto. (tryall_dlopen): Call lt_lib_open_t functions lt_syshandle compatibly. (lt_dlclose): Call lt_lib_close_t functions lt_syshandle compatibly. (lt_dlsym): Call lt_find_sym_t functions lt_syshandle compatibly. (lt_dltype_t): moved type declaration from here... * libltdl/ltdl.h (lt_dltype_t): ...to here. (lt_syshandle): new type for low level system handles passed by loader functions (lt_mod_init_t): New type for functions implementing the initialisation for an ltdl dynamic loader. (lt_mod_exit_t): Type of exit functions for the same. (lt_lib_open_t): Type of loader functions for the same. (lt_lib_close_t): Type of unloader functions for the same. (lt_find_sym_t): Type of symbol resolver functions for the same.
* libltdl/ltdl.c (sys_dl_init, sys_dl_exit, sys_dl_open, sys_dl_close, sys_dl_sym): Preprocess these away on cygwin to avoid spurious error messages.
fix severe bugs reported by Elrond <Elrond@Wunder-Nett.org> * ltconfig.in: replace $objdir with $output_objdir * ltmain.in: change to the builddir before relinking programs * ltmain.in, ltconfig.in, libtool.m4, ltdl.m4: remove unnessary spaces from line endings
* ltmain.in: rewrite of the ILD code, merge linking code for programs, libraries and objects, allow linking of shared libraries against static libraries/objects on platforms that support it but print a warning, fix some typos * partially revert my previous change and update only copyright notices of files that were actually modified * NEWS: update * libltdl/Makefile.am: version number was wrong * libltdl/ltdl.c (tryall_dlopen): revert Gary's change since it breaks dlpreopening * ltdl.m4: ditto * libltdl/ltdl.c (sys_search_path): search in the system default library search path, too * ltdl.m4 (AC_LTDL_SYSSEARCHPATH): extract the path * libltdl/ltdl.c (find_module): remove bogus file_not_found_error * libltdl/ltdl.c (load_deplibs): implement loading of dependency libraries * libltdl/ltdl.c (unload_deplibs): implement unloading of dependency libraries * libltdl/ltdl.c (lt_dlexit): correctly close all modules and their dependencies * libltdl/ltdl.c (lt_dlforeach): new function * libltdl/ltdl.h: ditto * doc/libtool.texi (using libltdl): document it * libtool.m4: reformatting, only add -I$topsrc_dir/libltdl to INCLTDL * libtoolize.in: reformatting * ltconfig.in: reformatting * ltmain.in: reformatting * mdemo/configure.in: AC_SUBST INCLTDL * mdemo/Makefile.am: use INCLTDL * tests/Makefile.am: reexport OBJEXT and EXEEXT * tests/dryrun.test: use them for building main.obj and mdemo.exe
* libltdl/ltdl.c (tryall_dlopen): Abort with file_not_found_error before trying all lib_open() methods if the file to be dlopened doesn't exist. * ltdl.m4 (AC_HAVE_HEADERS): add unistd.h.
* libltdl/ltdl.c (find_file): memory error fixed.
* ltconfig.in (Usage): Now it matches the code! Reported by Jon Leichter <jon@symas.com>
* README: Some notes about libtool release numbers.
* mdemo/README: Explain the deliberate incompleteness of the Windows port. * mdemo/configure.in: Use AC_LIBTOOL_WIN32_DLL. * mdemo/Makefile.am (LDFLAGS): Add -no-undefined.
* libltdl/ltdl.h (LTDL_STMT_START, LTDL_STMT_END): Macros for wrapping other macros to make a portable compound statement from multiple C statements in the expansion. (LTDL_SET_PRELOADED_SYMBOLS): Use the above macros to add an extern declaration for lt_preloaded_symbols, to remove dependency on undefined symbol from libltdl.dll on cygwin (and other -no-undefined architectures). * libltdl/ltdl.c (lt_preloaded_symbols): No longer defined here.
* libtool,m4 (AC_LIBTOOL_SETUP): The result of lt_cv_need_dllmain was set to the opposite of what it should be. * configure.in (AC_LIBTOOL_WIN32_DLL): Call to this macro is required for libtool configury to test lt_cv_need_dllmain on Windows.
* ltconfig.in (opt_cr, mingw*): replace unescaped ? with correctly
escaped and portable {0,1} in sed expression.
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): Add -I${top_srcdir}/libltdl
to default INCLTDL for VPATH.
(AC_LIBLTDL_INSTALLABLE): ditto.
Reported by Tom Tromey <tromey@cygnus.com>
* update all copyright notices to 2000
* doc/libtool.texi (using libltdl): document new lt_dlinfo struct,
replace NULL with @code{NULL}, document lt_dlsetdata(),
lt_dlgetdata() and lt_dlgetinfo()
* libltdl/Makefile.am: increment interface version number
* libltdl/configure.in: set version number to 1.1
* libltdl/ltdl.c: make some variables public by moving them
to the info struct, add support for application specific data
within module handles, new lt_dlsetdata(), lt_dlgetdata() and
lt_dlgetinfo() functions,
fix memory leaks, minor cleanups
* libltdl/ltdl.h: ditto
* mdemo/main.c: demonstrate use of lt_dlgetinfo,
improved handling of errors
* ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux
and Solaris, only hardcode *all* run-paths if hardcode_into_libs
is set to 'all', otherwise hardcode only user-specified rpaths
into libraries
* ltmain.in: minor cleanups, we don't need to add user-specified
rpaths to compile_rpath, finalize_rpath is sufficient
* ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has
been set! (reported by Bruno Haible <haible@ilog.fr>)
* configure.in: AC_SUBST reload_flag, deplibs_check_method
and file_magic_cmd
* README: use 'libtool --version' instead of 'ltconfig --version'
(suggested by Francios Pinard <pinard@iro.umontreal.ca>
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Leave undefined when not compiling for a Windows target. * libltdl/ltdl.c (canonicalize_path): New function to ensure internal paths use '/' directory separators. (find_file): use canonicalize_path. Memory management changed to cope. (lt_dlopen): ditto. (free_vars): Removed `dir' and `name', which are now handled internally.
* libltdl/ltdl.h (LTDL_DIRSEP_CHAR): Define to '/' or '\', as suitable for the target host. (LTDL_PATHSEP_CHAR): Similarly with ':' or ';'. * libltdl/ltdl.c: Use LTDL_DIRSEP_CHAR and LTDL_PATHSEP_CHAR instead of hardcoding throughout. Reported by Jon Leichter <jon@symas.com>
* ltmain.in: Oops, `largarg' -> `lastarg'.
* ltmain.in (-Wc, -Xcompiler): Implemented in compile mode.
* ltmain.in (-Xcompiler, -Xlinker): Add to compile_command and finalize_command. (-Wc, -Wl): Likewise. * tests/quote.test: Adjust quoting style of -Wl.
* ltmain.in: Oops, `echo' -> `$echo'.
* ltmain.in (-Wl, -Wc): Make commas argument separators, just like in gcc.
* ltmain.in (libtool_args): Get all arguments properly enclosed in quotes and backslash-protected when needed.
* ltdl.m4: Renamed from... * libltdl/ltdl.m4: that no longer exists. * configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4. * Makefile.am (aclocal_macros): Added ltdl.m4. (libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4. * bootstrap: Likewise. * libltdl/Makefile.am (ACLOCAL): Remove the definition. Relying upon -I may lead to duplicates. * doc/libtool.texi: Suggest appending ltdl.m4 to acinclude.m4. * libtoolize.in: Check AC_LIB_LTDL version number in aclocal.m4.
* libltdl/configure.in (with_auxdir): Do not use it as the argument of AC_CONFIG_AUX_DIR, automake requires a literal here. Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.
* libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in bootstrap.
* libltdl/configure.in: path to auxiliary files can be specified using --with-auxdir (idea by Howard Chu <hyc@highlandsun.com>) * ltmain.in: don't remove multiple occurences from dependency_libs of a library, otherwise many dependencies would get lost * bootstrap: use "aclocal -I ." instead of adding the contents of ltdl.m4 to acinclude.m4
* NEWS: updated. * libltdl/Makefile.am: Use -no-undefined for dll compliance. * libltdl/configure.in: Use AC_LIBTOOL_WIN32_DLL for dll compliance. * libltdl/ltdl.c: Define and use LTDL_GLOBAL_DATA to correctly export global data symbols from libtldl.dll. * libltdl/ltdl.h: Define and use LTDL_SCOPE to declare data symbols as dllexport, dllimport or plain ornary extern depending in the context in which it is used.
* doc/libtool.texi (Distributing libltdl): document use of ltdl.m4. * libltdl/configure.in: Removed header checks, as they are * libltdl/ltdl.m4: Added header checks from configure.in, so that AC_LIB_LTDL is sufficient to compile ltdl.c. Reported by Stephan Kulow <coolo@kde.org>.
* ltconfig.in (ltdll_obj): fixed typo: objdir -> $objdir
* ltconfig.in (cygwin*, mingw*, export_symbols_cmds): keep any DATA tags associated with symbols by recent dlltool. (cygwin*, mingw*, archive_expsym_cmds): Honor any DATA tags found in the symbol list. Reported by Jon Leichter <jon@symas.com>.
From Stephan Kulow <coolo@kde.org> * libltdl/ltdl.m4: Add arg 3 to AC_DEFINE's to save the user from having to hack acconfig.h.
* NEWS: Updated. * TODO: Note some cleanups that are now needed. * libltdl/configure.in: Use the new macroised tests. * libltdl/ltdl.m4: New file, macroised tests formerly in libltdl/configure.in. Reported by Stephan Kulow <coolo@kde.org>.
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu> * ltconfig.in: split off the osf3 section, so that the osf4 and osf5 sections can add `-msym' to arguments passed to the linker for shared libs.
* ltconfig.in (ac_compile): Use $ac_ext instead of .c. (ac_link): Likewise. (dlfcn.h, ac_try): Do not add filename, it is already in ac_compile. Reported by Stephane Conversy <Stephane.Conversy@lri.fr>
* ltconfig.in (linux-gnu*): Disable hardcode_into_libs until it works together with fast_install.
* libtool.m4: Use host when --target is not specified.
* configure.in: AC_SUBST variables that are used by ltconfig to build libtool.
* ltconfig.in (irix6*): Do not override deplibs_check_method here.
* libtool.m4: Do not AC_SUBST anything other than LIBTOOL.
* ltconfig.in (linux-gnu*): Set hardcode_into_libs=yes.
* ltconfig.in: Be friendlier to C++ compilers when testing for dlopen support. Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
* libtool.m4: better use of $target instead of $host to support cross compilation. Reported by Sam Latinga <slouken@devolution.com>
* configure.in: generate ltconfig and ltmain.sh before configuring libltdl
* tests/sh.test: New test to detect uses of quotes within backticks within quotes. * ltconfig.in, ltmain.in: Fix detected errors. Mark false positives with a comment that disables the detector. Reported by Akim Demaille <akim@epita.fr>
* configure.in: Move ltconfig and ltmain.sh generation back... * Makefile.am: here.
* NEWS: updated * THANKS: added Olly Betts and Pavel Roskin * doc/libtool.texi: fix typo * fix major bugs which rendered libtool virtually unusable (i.e. not portable): * ltconfig.in: don't hardcode system dependent variables in ltconfig!! but set sane defaults * Makefile.am: pass variables from AC_LIBTOOL_SETUP to ltconfig * libtool.m4: ditto, fix typo in AC_PROG_LD_RELOAD_FLAG * ltconfig.in: use old_deplibs for archives, too remove second occurence of sysv5 * ltmain.in: fix typo, fix the second occurence of -DPIC, too * libltdl/Makefile.am: increment version number, fix typo * libltdl/ltdl.c (lt_dlsym): don't report an error if the libltdl-style symbol name wasn't found * ltconfig.in: add support for Unixware (sysv4.2uw2*)
* ltmain.in: Damnit! Cygwin cvs committed all the dos line endings.
* ltmain.in (-DPIC): changed the order of pic flags a little to prevent upsetting the sgi c++ compiler.
* ltconfig.in (opt_cr): Handle crlf sequences output by the mingw toolchain.
* libtool.m4: Third time lucky, with Tor's patch.
* libtool.m4: these was a missing `*' in the -mno-cygwin match. * ltconfig.in (cygwin, ltdll_obj): fixed a quoting error. (export_symbols_cmds): added missing cosmetic newline.
* libtool.m4: test command used == which should be =. Support -mno-cygwin flag for building mingw32 dlls. * ltconfig.in (file_magic_cmd): add missing quotes. (deplibs_check_method): and here.
* libltdl/ltdl.c (lt_dlopen): Do not search paths when the specified library is not just a basename.
* libtool.m4 (AC_PATH_FILE): new macro replaces AC_PATH_TOOL_GREP_OUTPUT. (AC_PATH_TOOL_PREFIX): new macro replaces AC_PATH_PROG_GREP_OUTPUT. (AC_LD_RELOAD_FLAG): migrated from ltconfig.in. (AC_DEPLIBS_CHECK_METHOD): ditto. * ltconfig.in (reload_flag): moved to libtool.m4. (deplbs_check_method): ditto.
* libtool.m4 (AC_PATH_PROG_VERSION_GREP): removed in favour of the more general AC_PATH_PROG_GREP_OUTPUT. (AC_PATH_TOOL_VERSION_GREP): removed in favour of the more general AC_PATH_TOOL_GREP_OUTPUT. (AC_PROG_LIBTOOL): Search for a working find program in the user's PATH using the new macros.
* NEWS: updtaed.
* ltmain.in (-no-install): This doesn't work on win32 since the search path for libraries is not encoded in the binary, and dlls not in $PATH won't be found. Fall back to -no-fast-install instead.
* ltmain.in (-no-fast-install): Wrapper script used to add the exeext on again when naming the wrapped executable.
* ltconfig.in: Set $FILE to @FILE@ for substitution with
the value found in libtool.m4 at configure time.
* libtool.m4 (AC_PATH_TOOL_GREP_VERSION): New macro, combines
AC_PATH_PROG and AC_CHECK_TOOL with a test which greps the
output of $ac_dir/${ac_prefix}<tool> --version for a
given regex.
(AC_PATH_PROG_GREP_VERSION): New macro used by the above.
(AC_LIBTOOL_SETUP): Use the new macros to search the PATH
[starting at /usr/bin] for a file program which accepts
--version and has "file" in its --version output.
* NEWS: new -no-install flag * configure.in: fix typo * doc/libtool.texi(Link mode): document -no-install flag, correct -no-fast-install docs * libtool.m4: check for "file" command * ltconfig.in: don't hardcode /usr/bin/file, remove second definition of sysv5, replace linkopts -> linker_flags * ltmain.in: add new -no-install flag, print help for -no-install and -no-fast-install flags * ltmain.in: always create output_objdir * libltdl/Makefile.am: don't preserve file attributes when installing the libltdl sources
* configure.in (AC_OUTPUT_COMMANDS): generate ltmain.sh * Makefile.am (ltmain.sh ltconfig): removed. Automake inserts the rules to automatically call config.status.
* libtool.m4: be sure to AC_SUBST values no longer tested in ltconfig.in. * ltconfig.in: replaced several of the simple feature tests with substitutions from config.status. * Makefile.am (ltconfig): generate ltconfig with config.status. * configure.in (AC_OUTPUT): generate ltconfig with config.status.
* ltconfig.in (sco3.2v5): use pass_all deplibs_check_method for SCO3.2.
* ltconfig.in (whole-archive-flag-spec): I had been wondering why my file system was filling up with empty files named `71'... seems I forgot to hold in the shift key when redirecting stderr, 2>&1. Doh!
* ltconfig.in (sysv): More UW7 support.
* ltmain.in (shlibpath_var): ensure the variable is non-empty before exporting it.
* ltconfig.in (sysv5): Added support required for shared library linking on SCO UW7.
* ltconfig.in (whole-archive-flag-spec): test whether the version of GNU ld being used understands --whole-archive before using it.
* ltmain.in: don't ignore convenience libraries for objects/archives (temporary hack)
* ltconfig.in (CDPATH): Set to `:' instead of empty. * ltmain.in (CDPATH): Likewise. Reported by Greg McGary <gkm@eng.ascend.com>
* ltconfig.in (ltdll.c, impgen.c): Prevent the shell from expanding variables & backslash escapes when writing these files to the libtool script.
* NEWS: mention fixes * doc/PLATFORMS: GNU/Hurd update * depdemo: make use of variables * ltconfig.in: use CC -E when checking for ELF support on NetBSD (reported by Todd Vierling <tv@pobox.com>), replace all occurences of 'linkopts' with 'linker_flags' * ltmain.in: move ltdll.c and impgen.c to ltconfig.in and only add them to the libtool script if it's necessary * ltconfig.in: add support for UnixWare 7.X.X * doc/PLATFORMS: add new platforms * doc/libtool.texi: document use of noinst_LTLIBRARIES for convenience libraries * ltconfig.in: check for freebsdelf3, not just freebsd3. Set hardcode_into_libs=yes for FreeBSD 3.0 and 3.1 * ltmain.in: enable workaround for freebsdelf3.0 * ltconfig.in: export_dynamic_flag_spec is -rdynamic on BSD/OS
* libltdl/COPYING.LIB: Update to version 2.1. * libltdl/ltdl.h, libltdl/ltdl.c: Update FSF address.
* libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return stripping. * ltconfig.in: ditto. From Olly Betts <olly@muscat.co.uk>
* doc/libtool.texi (Compile mode): typo correction. (Link mode): and another. (Release numbers): and another. (Distributing libltdl): and another. (Test descriptions): and another. (libtool script contents): and one more.
* libtool.m4 (AC_PROG_LD): strip carriage returns from the output of gcc -print-prog-name=ld. * ltconfig.in: ditto.
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else initialised structures are sometimes emitted in the code section.
* ltconfig.in: Read line at a time to avoid tokenisation by shell.
* ltmain.in: Fix creation of relative links to object files in sub-dirs.
* ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile and link ltdll.c if the libtool.m4 macros discovered that it is required.
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some typos made by Evil Gary while (mis)applying my patch :-).
* libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second thoughts, only probe for -mdll vs -dll on mingw, and revert to the old `-Wl,--dll -nostartfiles' on cygwin.
* doc/PLATFORMS (i*86-*openbsd2.5): New platform. Slight reordering of other bsd entries.
* NEWS: Note new user visible changes. * libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll under cygwin/mingw. probe whether the cygwin/mingw library supplies a stub DllMain (but this information isn't yet used). * ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set, use that to build impgen so we can use it when cross-compiling. use correct entry points for mingw so static C++ constructors get called for code in the DLL. * ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the system headers.
* ltconfig.in: Updated bsdi4 soname specs to be more like linux as discussed on the bsdi mailing list.
* configure.in (AC_PROG_RANLIB): No longer required as we now use
AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
* libtool.m4 (AC_PROG_LIBTOOL): Pass the $build variable to
ltconfig.
(AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
* ltconfig.in (build): new variable to hold the build triplet
which is now checked for unless --no-verify is specified.
(--build): new argument to set the build triplet.
(ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
to $host.
* doc/libtool.texi (Invoking ltconfig): Document --build option.
* NEWS: Note --build option.
* doc/PLATFORMS: Updated mostly *bsd platforms.
* doc/libtool.texi (Porting inter-library dependencies): Typos Reported by Petter Reinholdtsen <pere@hungry.com>
* NEWS, TODO: updated (pic flags) * libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag * ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags, fixed the strip check (reported by Keith Bostic <bostic@bostic.com>) * ltmain.in (compile mode): build only PIC/non-PIC code depending on pic_mode * libltdl/README: document the supported dlopen interfaces * doc/libtool.texi (tests): documented new tests * tests/Makefile.am: added new tests * tests/demo-pic.test: new test to test --with-pic * tests/demo-nopic.test: new test to test --without-pic * tests/build-relink2.test: variant of build-relink.test that uses depdemo
* doc/libtool.texi (C++ Libraries): fixed a typo.
* README-alpha: improved the release instructions to mention actual list addresses for announcements, and urls for upload locations.
* doc/PLATFORMS: 1.3b passes all tests on cygwin * ltconfig.in: finish_cmds for FreeBSD removed * depdemo/l3/Makefile.am: install libl3.la into an extra directory
* configure.in: bumped version to 1.3c.
GNU libtool 1.3b was released. * NEWS: inserted todays date.
* doc/PLATFORMS: Tested on as many platforms as possible for me.
* NEWS: updated * doc/PLATFORMS: updated * changed my email address
* demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl) * tests/build-relink.test: also check for hardcode_into_libs = yes, if set, we need to relink at install-time
* NEWS: mention -no-fast-install, rename dummy to force * doc/PLATFORMS: 1.3b passes all tests on GNU/Linux, FreeBSD (2.2.6 and 3.1) * doc/libtool.texi: it's possible to link libtool libraries using -L and -l, better documentation of uninstall and clean mode, rename dummy to force, documented -no-fast-install, AC_LIBLTDL_* must be called before AC_PROG_LIBTOOL, documented hardcode_into_libs and striplib/old_striplib, * ltconfig.in: search for strip program, added hardcode_into_libs and striplib/old_striplib variables, set strip commands for GNU strip, on FreeBSD >= 3.2 set hardcode_into_libs to yes, fast-install mode doesn't work if hardcode_into_libs = yes * ltmain.in: reimplemented hardcoding into libraries: new relink mode, preserve all libtool args, relink libraries when installing if necessary added -no-fast-install flag, removed unnecessary `dlname' initialization, use striplib/old_striplib for stripping libraries, dlname is always soname or in library_names so we don't need to handle different file names
* ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes up to release 3.1, and to no from 3.2 on. Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes; tested on 3.1-ELF by Pavel and on 2.2.6 by Alexandre.
* ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on alpha, x86 and sparc architectures by now, reverting to file_magic at least on ARM, where it breaks.
* NEWS: updated * README: added GNU Hurd to the supported platforms * doc/libtool.texi: document `-dlpreopen dummy' instead of `-dlopen dummy' * libltdl/ltdl.c (strchr): fixed typo (missing star) * libltdl/ltdl.c (strrchr): fixed typo (missing star) * libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings * ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols
* ltmain.in (ltdll.c): Support for crosscompiling from linux to mingw32.
* ltconfig.in (cygwin, export_symbols_cmds): If there is already an extracted and compiled ltdll.c, then don't delete, reextract and recompile. (cygwin, archive_expsym_cmds): Make sure the ltdll source has been extracted and compiled before referencing the object, since there are paths through the code which run archive_expsym_cmds without running export_symbols_cmds.
* ltconfig.in: moved the test for NM after the test for no_builtin_flag.
* ltconfig.in: Use sed '$q' instead of sed "" for copying ltmain, just in case some sed does not support an empty command.
* ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the latter in the test.
* ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive regex (reported by Chris P. Ross <cross@eng.us.uu.net>) * ltmain.in: support `-dlopen self', define lt_preloaded_symbols if dlself != no * doc/libtool.texi (Compile and Link mode): document it, documented the -Wc, -Wl flags, libtool does also support non C source code * ltconfig.in: CR/LF fix for broken DJGPP bash * ltmain.in: CR/LF fix for DJGPP
* ltmain.in (outputname): When generating the executable wrapper script, $outputname already has the $exeext suffix, so we needn't add it again.
* libltdl/configure.in (ac_cv_lib_dl_dlopen): missing "x" in test comparison corrected.
* libltdl/ltdl.c (sys_wll_open): libltdl expects this function to fail if it is unable to physically load the library. Sadly, LoadLibrary will search the loaded libraries for a match and return one of them if the path search load fails. Simulate a failure in this case for compatibility with the other APIs. Also, LoadLibrary takes the liberty of adding `.dll' to library names passed without an extension, we now add a trailing `.' to prevent this from happening.
* libltdl/ltdl.c (sys_wll_close): Strangely enough, Microsoft have decided that LoadLibrary returns `0' for success, yet FreeLibrary returns `0' for failure! The FreeLibrary call used to interpret `0' as success for both functions.
* ltconfig.in: use eval when setting have_dlfcn_h, reformatting
* ltmain.in: store old archives in deplibs and old_deplibs, retain the order of dependency libraries (even old archives), determining the absolute directory name didn't work due to a typo, add the library search paths of all dependency libraries when linking a library (fixes IRIX 5.2 bug)
* ltconfig.in: Reverted June 6's patch for new GNU ld output, it is no longer needed, as ld reverted to the original format. * NEWS: Likewise. * ltconfig.in: When testing self-dlopening, test whether dlclose crashes. On FreeBSD 3.1, it does. :-( * libltdl/configure.in: Likewise. * NEWS: Note work-around. Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate no extension, and we must do the same in order to share the cache value. Also we must ignore conftest.err which HPsUX (at least) fills with gratuitous warnings. (objext): for consistency, do the same as above. Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltconfig.in (exeext): Use quotes in the test, to prevent a failure in sh.test.
* ltconfig.in: Reordered tests to be more like configure.in's
recommended order (programs first, then libraries, etc.).
Performed a manual ``constant folding pass'' (eg: s/eval "test
"echo '$''{'lt_cv_dlopen'+set}'`" != set/test
"${lt_cv_dlopen+set}" != set/).
s/test "${foo+set}" = "set"/test "X${foo+set}" = Xset/g
* ltconfig.in (link_static_flag): Accept, in order of decreasing preference: the cached value; the default value for the current host. Also test that the compiler accepts the flag, and cache that result too.
* ltconfig.in (pic_flag): Accept, in order of decreasing preference: the cached value; the default value for the current host. Also test that the compiler accepts the flag, and cache that result too.
* ltconfig.in (LN_S): Accept, in order of decreasing preference: the cached value; an environment setting; ``ln -s'' if it works; ``ln'' if ``ln -s'' doesn't appear to work.
* ltconfig.in (objext): Accept, in order of decreasing preference: the cached value; the result of a test object compilation.
* ltconfig.in (RANLIB): Accept, in order of decreasing preference: the cached value; an environment setting; the first file called ``ranlib'' in the user's path.
* ltmain.in (exeext): Use $exeext when working out the names of programs (but not the wrapper script itself due to a stupidity in win32 which hardwires the .exe extension to the binary loader!). * ltconfig.in (exeext): Now that the wrapper script tries to move executables, we need to know whether they have an extension (ala AC_EXEEXT). Since we can't rely on AC_EXEEXT having been called in configure.in, we must be able to check for ourselves, though we can look for a cached result incase AC_EXEEXT was called.
* ltconfig.in (cygwin, need_version): Set to no, otherwise module dll's end up with mighty long names!
* ltconfig.in (cygwin, pic_flag): Force separate compilation of objects for dlls vs. objects for static archives. Using a cpp macro also allows us to decide whether or not we need to use dllexport/import declarations.
* ltconfig.in: Support new GNU ld --help output format. * NEWS: Likewise. Reported by Gaël Quéri <gael@baoule.dyndns.org> and H.J. Lu <hjl@varesearch.com>.
* ltconfig.in: Update support for the Hurd. Make sure that the soname includes the major version number and create the right links. Allow shared objects without the `lib' prefix and without version information.
* ltmain.in (link): use "$nonopt" as the compiler for compile/finalize_command
* TODO: Remove the short list of people interested in C++ constructors; it's not meaningful, since there are so many more people requesting this feature, and we just can't maintain it accurate.
* ltconfig.in (GNU Hurd, deplibs_check_method): Use pass_all.
* ltmain.in: Expand convenience libraries when creating reloadable objects. * NEWS: Ditto.
* NEWS: Mention the two bugfixes below.
* ltmain.in: Only create directory into which to extract convenience libraries when $convenience is not empty. It would always be created on systems that did not support whole_archive_flag_spec.
* ltconfig.in (export_symbols_cmds): Add $convenience. (cygwin, export_symbols_cmds): Ditto. * ltmain.in: Generate export symbol list before expanding convenience libraries, to avoid passing whole_archive_flag_spec to $NM. Reported by Godmar Back <gback@cs.utah.edu>
* libltdl/ltdl.c (LTDL_BIND_FLAGS): Remove BIND_VERBOSE, to avoid printing error messages.
GNU libtool 1.3.2 was released.
* NEWS: List fixed problems. * doc/PLATFORMS: Tested for 1.3.2.
* config.guess: Synch with GNU common.
* ltmain.in: Revert to stripping .exe on all platforms. * TODO: Note about this problem. Demo is fixed on win32. -Wl and -Wc are implemented for release 1.4. Support `empty' convenience libraries.
* ltconfig.in (solaris*, ld_shlibs): Do not enable shared libraries with GNU ld 2.8.*, it's broken. Emit a warning suggesting an upgrade. Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>
* ltmain.in: file_magic check would not avoid cyclic links.
* depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize. * depdemo/l3/l3.c, depdemo/l4/l4.c: Likewise.
* NEWS: support for installing stripped libraries using GNU strip * ltconfig.in: set deplibs_check_method=pass_all on FreeBSD, Linux and Solaris since no one can reproduce the famous deplibs bug * ltmain.in: preserve $CC (reported by Tom Tromey), strip libraries using GNU strip if it's available and the -s flag was passed to "install"
* ltmain.in: Remove object files before writing to them, to avoid circular links. Reported by Ron O'Hara <rono@sentuny.com.au>
* doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86. Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltmain.in: strip off the .exe suffix only on *Win (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
* NEWS: updated * TODO: -Wc, -Wl, implemented * AUTHORS: changed my email address * doc/libtool.texi: fix "wierd" typo :) * ltmain.in: linking against convenience libraries was broken, implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for compiler and linker-specific flags, add -lc before we do the deplibs check * ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags for $LD, link_all_deplibs=yes on IRIX * NEWS: insert todays date alongside 1.3.1 release. * Makefile.in: use gnu not gnits rules * config.guess: synch with gnu common & apply Takabatake-san's MIPS *000 patch. * config.sub: synch with gnu common.
* libltdl/configure.in (dlerror): Fix typo in dlopen found in -ldl test.
* Makefile.am (EXTRA_DIST): Don't distribute instutils. (install-data-hook): use libltdl/Makefile.am's local-install files rule. * libltdl/Makefile.am (local-install-files): New rule to install libltdl without creating links or mode 777 directories. * instutil/*: deleted.
* doc/PLATFORMS: Updated to 1.3.1 for all platforms I've got. Added sparc-unknown-linux-gnu.
* demo/foo.h: s/PARAMS/LTDL_PARAMS/g * libltdl/ltdl.h: ditto. * libltdl/ltdl.c: ditto.
* demo/foo.h: s/__P/PARAMS/g * libltdl/ltdl.h: ditto. * libltdl/ltdl.c: ditto. Reported by Akim Demaille <demaille@inf.enst.fr>
* NEWS: Updated docs. * TODO: Recommend libtool.m4 to be inserted in acinclude.m4. AIX 4.3.2.0 no longer fails on static dlopening. GNU DLD no longer has to support .la files, since libltdl already does. Convenience libraries and reloadable objects should be tested in the testsuite. We could support some amount of control on the soname of libraries. * doc/libtool.texi: Notes about convenience libraries and automake. Documented INCLTDL.
Revert bootstrap change
* bootstrap: fix libltdl/Makefile.in * cdemo/main.c: "Welcome _to_ ..." * mdemo/main.c: ditto * libltdl/configure.in: support multiple dlopening mechanisms at once * libltdl/ltdl.c: prefix system dependent functions with "sys_" to avoid symbol conflicts (libdld didn't work) * libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h * ltconfig.in: check for dlopen with -ldl first
* NEWS: Added 1.3.1 news items. * doc/PLATFORMS: updated the boxes I have access to, to 1.3.1 in preparation for the next release.
* ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes on this, so leave it unset in this case so that the ltmain code knows it has to unpack convenience archives by itself.
* ltmain.in: Do not exit when an unknown library name is passed passed in, simply warn and continue since some compilers require -LANG:* like options to work. Reported by Adam C. Powell, IV <adam.powell@nist.gov>
* ltconfig.in: port to NEC UX/4800. * NEWS: updated.
* ltconfig.in (beos*, deplibs_check_method): set to pass_all. BeOS is PIC by default. Reported by "Shawn T . Amundson" <amundson@gimp.org>
* libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking for dlopen *with* -ldl first. Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
* demo/foo.h: Don't set any declspecs until we have full dlli support.
* ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use -Wl for allextract.
* instutil/chmod: New script to avoid chmod'ing files while installing libltdl's sources. * instutil/ln: New script to avoid hard-linking libltdl's sources in the install tree. * Makefile.am (EXTRA_DIST): Dist them. (instal-data-hook): Add srcdir/instutil to the beginning of the PATH before installing libltdl's sources.
* TODO: updated.
* Makefile.am (install-data-hook): make sure the install directory is not left world writable. Reported by Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* libtool.m4: Use ifelse instead of if. Reported by David Mazieres <dm@amsterdam.lcs.mit.edu>
* NEWS: Summarize news from 1.2 to 1.3.
* ltmain.in: Save exit status of link_command before removing symbol table object file.
* doc/PLATFORMS: updated my hpux-10.20 and cygwin box entries.
* NEWS: Improved support for DU and IRIX too.
* config.sub, config.guess: Updated from GNU common.
* mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before AM_PROG_LIBTOOL, as suggested by autoconf.
* doc/libtool.texi (Distributing libltdl): Document that -static may cause the same problems on libltdl as -all-static. * TODO: We might want to fix this in the future.
* doc/libtool.texi: Clear up overfull hbox.
* libltdl/Makefile.am (ltdl.lo): Add dependencies. * libltdl/configure.in: Clean up some duplicate defines. Enable support for multiple dlopening mechanisms. * libltdl/acconfig.h: New file. Add #undefs for defines that would be duplicated.
Revert last Ossama's patch. autoconf does not use extern "C", so we shouldn't either, otherwise libtool might think we have dlopening while libltdl might not be able to deliver it.
* ltconfig.in (dlopen): Declare it as extern "C" in C++.
* libtool.m4 (cygwin*|mingw*, DLLTOOL, OBJDUMP, AS): Only expand the code that makes these configure time checks on hosts that need the tools *and* if the AC_LIBTOOL_WIN32_DLL macro is used.
* ltmain.in (nlist, SYMFILE): Use outputname instead of output for names within output_objdir.
* libtool.m4 (libtool_flags): Fix calls to AC_BEFORE. Reported by Gary V. Vaughan
* libtool.m4 (ltconfig_enable_win32_dll): pass --enable-win32-dll to ltconfig if this is set. (AC_LIBTOOL_WIN32_DLL): New macro required for libtool to attempt a dll build on win32 hosts. * ltconfig.in (--enable-win32-dll): new flag for the cli. (cygwin*|mingw*|os2*, ltconfig_enable_win32_dll): if this is not set to yes, then do not attempt to build shared libraries. * doc/libtool.texi: document AC_LIBTOOL_WIN32_DLL. * NEWS: noted new macro.
* libtool.m4 (AC_LIBTOOL_DLOPEN, AC_ENABLE_SHARED, AC_ENABLE_STATIC, AC_ENABLE_FAST_INSTALL, AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE): Warn if they appear after AC_PROG_LIBTOOL. AC_LIBTOOL_SETUP, actually. (AC_LIBTOOL_SETUP): Check whether DLOPEN support is to be enabled at autoconf time, not configure time. Simplify code and improve (?) help message about --disable-libtool-lock.
* NEWS: new clean mode * THANKS: added Ossama Othman * doc/libtool.texi: documented the new `clean' mode * ltconfig.in: set need_version=no on OSF (reported by Marcus Sundberg <mackan@stacken.kth.se>) * ltmain.in: allow absolute non-existant -L paths, always use output_objdir instead of objdir for temporary files, delete generated temporary symbol lists, don't add .la twice in the pseudo-library header, implemented and documented clean mode (deletes libraries, programs and object files and the files associated with them), if build_libtool_libs=no and no static library is available, try to link the program against the shared library, don't add a statically linked library to the dependency_libs * ltmain.in (help uninstall): added a missing backslash after echo (reported by Ossama Othman)
* ltmain.in (old_archive_cmds): Iterate on oldobjs to find out which links to object files we must create. Do not test for empty pic_flag to create such links. Use objext when searching for object files extracted from convenience library.
* ltconfig.in (compiler_c_o): Make sure the compiler does not create temporaries in the current directory when output should go elsewhere. We must perform locking if it does.
* ltmain.in (old_archive_cmds): Ensure that there are always .o objects available before running old_archive_cmds.
* doc/PLATFORMS: Updates for netbsd 1.3.3 and 1.4.
* ltconfig.in (aix4.[01], always_export_symbols): The case pattern would never match; fixed. Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
* libtool.m4 (OBJDUMP): Pass it to ltconfig. * configure.in: AC_SUBST DLLTOOL, OBJDUMP and AS. * Makefile.am (libtool, clibtool): Pass them to ltconfig. * doc/libtool.texi (Invoking ltconfig): Document OBJDUMP.
* libtool.m4 (cygwin*): Look for target objdump tool. * ltconfig.in (cygwin*, file_magic_cmd): Use autoconf-located target objdump tool. Track OBJDUMP like DLLTOOL and AS. * ltconfig.in (cygwin*, deplibs_check_method): Accept "architecture: i386" as optional suffix, for it is printed on a separate line sometimes. * ltmain.in (cygwin*, ltdll.c): Wrap DllMain declaration in extern "C". * ltmain.in (deplibs_check_method=file_magic): Redirect stderr to /dev/null, to suppress error messages from target objdump.
* ltconfig.in (irix*, soname_spec, library_names_spec): Missing dots before $versuffix and $major.
* ltconfig.in: Correct sed expression that extracts symbols from cygwin def files. Ignore demangled C++ names, if any.
* ltconfig.in (solaris*, whole_archive_flag_spec): Use -z allextract/defaultextract from Solaris 2.6 on. Reported by Brian Ford <ford@vss.fsi.com>
* ltconfig.in (beos*, allow_undefined_flag): Do not build shared libraries with undefined symbols.
* ltconfig.in (aix4*, allow_undefined_flag): Set to -berok.
(aix4*, shared_flag): Set to -shared or ${wl}-bM:SRE.
(aix4*, archive_cmds): Use -bexpall.
(aix4*, archive_cmds, archive_expsym_cmds): Use shared_flag and
allow_undefined_flag.
(aix4*, always_export_symbols): Set to yes up to AIX 4.1.*,
because -bexpall is supported from 4.2 on.
Reported by Greg Wooledge
<ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
* ltconfig.in (hpux*, hardcode_minus_L): Set to yes. (hpux*, hardcode_libdir_flag_spec): Do not use +s by default. (hpux*, shlibpath_overrides_runpath): Set to no.
* ltconfig.in (irix*, osf*, archive_cmds): Write so_locations within objdir.
* ltconfig.in (irix*, soname_spec): Append $major. (irix*, library_names_spec): Add new soname. Reported by David Kaelbling <drk@sgi.com>
* ltconfig.in (irix*, sys_lib_dlsearch_path_spec): /usr/local/lib is not searched by default. /usr/lib is searched before /lib. * ltconfig.in (irix*, sys_lib_search_path_spec): /usr/lib is searched before /lib.
* ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no, by unifying with irix6*.
* ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all.
* ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments in output file.
* ltmain.in (prefer_static_libs): New variable, set to no by default, but set to yes by -static and -all-static. Used instead of build_libtool_libs to decide whether to use a shared or static version of a library, when both versions are available.
* ltconfig.in (sco3.2v5*): Use LD_RUN_PATH for hard-coding.
* Makefile.am (uninstall-local): Remove installed libltdl tree.
* demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl): Added CFLAGS to link commands; SCO OSR needs it for -belf.
* TODO: -Wl and -Wc options.
* libltdl/ltdl.c: Remove trivial warnings.
* libltdl/ltdl.c (shl_close): shl_t was correct here... (shl_sym): ... but we have to pass the handle by reference here.
* doc/libtool.texi (Invoking ltconfig): Document environment variables used.
* doc/libtool.texi (Invoking ltconfig): Document --cache-file.
* doc/libtool.texi (Invoking ltconfig): Document --disable-fast-install, --enable-dlopen, --with-gnu-ld and --disable-lock.
* libltdl/configure.in: check for shl_load in libdld * libltdl/ltdl.c (shl_close, shl_sym): use (shl_t *) instead of shl_t * ltconfig.in (check for gcc): removed a bogus line, check for shl_load in libdld * ltmain.in: added a warning to the header of the .la file to warn users against deleting the file, link shared against static libraries if deplibs_check_method == pass_all
* libtool.m4 (AC_PROG_LD, AC_PROG_NM): When looking for programs, try $ac_exeext too, so that they're found on DJGPP/MS-DOS. * ltconfig.in: Likewise. Reported by Robert S. Maier <rsm@math.arizona.edu>
* ltconfig.in (Usage): Removed --enable-dlopen-self. Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltconfig.in: Moved sysv4 before sysv4.*. (symcode): Brian's overrider is specific to sysv4, not sysv4*.
* NEWS, README: Motorola System V 4 support * doc/PLATFORMS: added mk88-motorola-sysv4 * ltconfig.in: installed patch from Brian Ford <ford@vss.fsi.com> to support mk88-motorola-sysv4
* doc/libtool.texi: some cleanups in the libltdl documentation
* ltconfig.in (--fallback-echo): Do not put an inline document and an exec in the same if construct; otherwise the inline document may not be removed. * ltmain.in (--fallback-echo): Likewise. Reported by John David Anglin <dave.anglin@nrc.ca>
* dryrun.test: It would still fail at random times, because `cp' and `mv' are not guaranteed to preserve the timestamps of the installed files. Instead of preserving them, just remove them before the dry uninstall test. Redirect dry-run output to stderr, so that it can be easily separated from the regular output.
* NEWS: support for moved libraries * libtool.m4: another DJGPP fix
* doc/PLATFORMS: Updated to 1.3 for all platforms I've got. I'll make sure 1.3 won't be released unless it passes all tests on those platforms.
* doc/libtool.texi (Compile mode): Document potential problem and work-around for `-c -o dir/foo.lo'.
* tests/dryrun.test: The constant modifications of libtool would cause main.o to be updated at the wrong time; the new approach is to modify the libtool script so that it enables dry run depending on whether an environment variable is set or not. I've also moved `after' and `before' to a directory deep within $objdir, instead of creating it in ../tests. * tests/Makefile.am (CLEANFILES): Removed.
* tests/dryrun.test: We cannot rely on setting LIBTOOL, because automake may use sub-makes, and the setting will not be propagated to them on some makes. Instead, create a dry version of libtool and switch between it and the original one before and after dry runs. * tests/Makefile.am (CLEANFILES): Added libtool-*, created by dryrun.test.
* tests/dryrun.test: Use cmp instead of diff. (before, after): Create them within ../tests. (libtool): Set to `/bin/sh ./libtool' by default, but use LIBTOOL, SHELL and top_builddir from the environment if available. For dry runs, use "$libtool -n". * tests/Makefile.am (CLEANFILES): Added before and after. * ltmain.in: Do not create links to object files in dry runs.
* ltmain.in: added a missing line of the ILD patch
* NEWS: improved DJGPP support * doc/libtool.texi: removed hardcode_into_libs documentation * libtool.m4: some DJGPP fixes * ltconfig.in: ditto, reverted one of my previous patches: we need to check for NM, removed the hardcode_into_libs support since no platform seems to support it * ltmain.in: some DJGPP fixes, removed the hardcode_into_libs support
* ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries
* Makefile.am (CVS): allow command-line overriding of cvs
* ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by default, as most a.out platforms use it, and end up in trouble if we preload it, so it's safer to rule it out by default, and special case its removal from exclude_expsyms if someone ever complains.
* doc/libtool.texi: reorder tests to reflect execution order, documented dryrun.test and depdemo* * ltmain.in (lt_preloaded_symbols): dry-run mode bugfix * tests/dryrun.test: new test to check whether the dry-run mode works properly
* demo/run.test: removed the unnecessary test * demo/Makefile.am: ditto * ltmain.in: set the DLL search path on cygwin,mingw and os2
* ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for deplibs.test to work with GNU ld; -Bshareable is needed here.
* ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with native ld too.
* ltconfig.in (sunos4*, GNU ld): Reordered.
* ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the native linker doesn't even support -Bshareable, only GNU ld does. Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test.
* ltconfig.in: if ld_shlibs=no, set can_build_shared=no too, otherwise it will just be disregarded. This would cause netbsd/m68k with GNU ld a.out, and certainly many other platforms, to incorrectly believe that shared libraries were supported, while archive_cmds was empty, causing shared libraries not to be created
* NEWS: improved support for AIX and HP/UX
* NEWS: updated * libtool.m4: check for main in libm instead of cos * ltmain.in: cosmetic fixes, don't try to link libraries only once (although it's not necessary on many platforms and looks ugly...),
* ltmain.in (convenience): fixed race condition when more than one library was linked with the same convenience library by uniquifying the extract directory. It is now named after the new library *and* the old one, and lives in the objdir of the new one.
* ltmain.in (-L*): do not abort just because a directory specified with -L does not exist; just warn and discard it
* depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies * depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto * depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto * depdemo/l4/Makefile.am (AUTOMAKE_OPTIONS): ditto
* ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we should have been using -Bshareable
* demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check
* libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests that involve linking * Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto * tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set (LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
* doc/PLATFORMS: 1.2f ok on various versions of hpux cc
* ltconfig.in (link_all_deplibs): set to unknown by default * ltmain.in: test != no, not = yes * doc/libtool.texi: document unknown
* doc/libtool.texi: documented deplibs.test
* demo/Makefile.am: moved testsuite specific declarations to the end, the deplibs check is now optional * libltdl/configure.in: read libtool --config only once, merged AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE from libtool.m4 * libtool.m4: AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE were not used, lt_dlopen and silent may be empty, AC_SYS_LIBTOOL_CYGWIN no longer necessary * ltconfig.in: NM is already checked in libtool.m4, * ltmain.in: always link all static dependency_libs * tests/Makefile.am: added deplibs.test * tests/demo-exec.test, demo-inst.test: removed hell0 * tests/deplibs.test: new test to test the deplibs_check_method
* ltmain.in: always link a library before its dependency libs * mdemo/Makefile.am: test -export-symbols-regex
* doc/libtool.texi: fixed a typo * libtoolize.in: add the libtool scripts to libltdl.tar.gz * libtool.m4: don't AC_SUBST(USE_SYMBOL_UNDERSCORE), AC_CHECK_LIBM sets LIBM, AC_LIBLTDL_INSTALLABLE doesn't work when libltdl is already installed * *demo/Makefile.am: use LIBM * *demo/configure.in: AC_SUBST LIBM * libltdl/configure.in: use ac_cv_sys_symbol_underscore instead of USE_SYMBOL_UNDERSCORE * ltconfig.in: added link_all_deplibs variable * doc/libtool.texi: document it * ltmain.in: always search for libname.la - don't eval libname_spec, when linking libraries against static ones just print a warning and add them to dependency_libs, add -lc before deplibs, always link all dependencies of a static library or if link_all_deplibs is yes, hardcode library paths if hardcode_into_libs is no, don't link against dependency_libs that already are deplibs
* ltconfig.in (aix4*, collect2name): make sure collect2 exists before running string on it, to avoid errors on old gccs Reported by Erez Zadok <ezk@cs.columbia.edu>
* ltconfig.in (aix4*, hardcode_libdir_flag_spec): unless we're using gcc with old collect2, use -b libpath to hardcode the library search path
* ltmain.in, ltconfig.in: reverted most of the quoting changes from 1999-03-25; Gary's delay_variable_subst patch from 1999-02-19 obviates it. Keep only quoting of $PATH, for uniformity with other systems that already did it * TODO: comments on hardcoding paths into libraries; problem with shell meta-characters in filenames
* libltdl/ltdl.c (lt_dladdsearchdir): Forgot to mallocate the extra byte of memory for the teminating NUL, and forgot to strcpy the original path in to the new memory before appending the new path compononent.
* NEWS: updated * README: updated (BeOS support, no longer shared libraries support for AmigaOS), cleanups, we have now two mailing lists * REAMDE-alpha: autogen -> bootstrap, we have now two mailing lists * THANKS: added Xavier Pianet * doc/PLATFORMS: BeOS works * doc/libtool.texi: we have now to two mailing lists, updated -dlopen self documentation, documented libltdl's license, put each author in a separate line, inter-library dependencies on uninstalled libtool libraries are now supported, cleanups and minor corrections * libltdl/COPYING.LIB: new file * libltdl/ltdl.[ch]: added special exception to the LGPL license * libtool.spec: removed, it was outdated * Makefile.am: removed libtool.spec * ltmain.in: use TMPDIR when possible, create a subdirectory in the temporary directory, added -export-symbols-regex to the help,
* demo/Makefile.am: create a static library, link two libtool archives with it, then link the program hell0 with both * demo/hell1.c, demo/hell2.c: dummy files used to create the libtool archives without introducing symbol conflicts * tests/demo-exec.test, tests/demo-inst.test: run the new program * ltconfig.in (irix5*, irix6*, deplibs_check_method): pass_all
* ltmain.in ($PATH): instead of modifying the PATH, better prevent its expansion the first time *_cmds variables are eval'ed. Modify $show within loops that eval them so as to expand variables * ltconfig.in (*_cmds): quote $ so that they're not expanded by the first eval
* ltmain.in ($PATH): Expand any tildes in the users path to the contents of $HOME to avoid problems with *_cmds splitting and evaluation.
* TODO: support -dlopen for libraries * doc/PLATFORMS: Erez Zadok reported that libtool works on bsdi 4.0.1 * doc/libtool.texi (libltdl): libltdl supports BeOS * libltdl/ltdl.c: shlib_ext was declared even if LTDL_SHLIB_EXT didn't exist, partially reverted my previous patch: BeOS will automatically search in ADDON_PATH * ltmain.in: don't allow relative run-paths, fixed a typo in a warning, ignore -dlopen self for libraries and objects, only accept -L paths that exist, minor cleanups, bugfix: add -lc for normal libraries, not convenicence libraries removed offensive warnings/comments
* ltconfig.in (ld_shlibs, amigaos*): disable shared libraries
* libltdl/configure.in: the sed expression for finding the shared library extension used to think the . in [.] for the cygwin shared_library_names_spec was the start of the extension!! We now remove anything in square brackets (assuming that the square brackets delimit a sed or expr expression which is not part of the extension) before looking for the extension. * TODO (cygwin): food for thought re: mutually dependant dlls.
* TODO (cygwin): food for though re: mutually dependant dlls.
* tests/build-relink.test: if we relink and have hardcode_direct, removing an uninstalled library breaks an uninstalled program
* doc/libtool.texi: documented convenience libraries * TODO: removed entry about it
* tests/*-unst.test: if directory is not configured, skip it * tests/demo.test, tests/mdemo.test: unused, removed * tests/depdemo.test: ditto
* doc/libtool.texi (link mode): documentation for -module updated * ltconfig.in: fast-install mode doesn't work for hardcode_into_libs=yes * ltmain.in: bugfix: "-dlopen self [-all]-static" wouldn't use dlopen_self_static, automatically enable -export-dynamic when using "-dlopen self", always make run-paths absolute, ignore -lc only on platforms that don't have such a library, cleanups in the ILD code, find even installed libtool libraries that were moved, before generating the DLL-import library we need to set libname, improved hardcoding of shlibpath for libraries, don't generate an installable pseudo-library for convenience libraries, bugfix: export_symbols would be removed immediately before it is used
* use the same header in all configure.in's and Makefile.am's * NEWS: improved support for BeOS and Cygwin * TODO: ILD branch was merged, all internal variables and macros are now documented * demo/Makefile.am: use $(LIBS) instead of -lm * doc/libtool.texi: documented new variable hardcode_into_libs and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN * libltdl/ltdl.c: added two new error messages (cannot_open_error, cannot_close_error), use them where approriate, BeOS support (thanks to Xavier Pianet), on BeOS search modules additionally in ADDON_PATH * libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have libm and *-ncr-sysv4.3* requires libmw * ltconfig.in: don't check for LoadLibrary, hardcode dlopen configuration for BeOS and Cygwin * ltmain.in: fix sourcing of .la files on Solaris (patch by Raja R Harinath)
* ltconfig.in (sunos4*, with_gnu_ld, hardcode_minus_L): remove, we have -rpath (aix4*, without_gnu_ld, hardcode_shlibpath_var): unsupported is default (hpux9*, hpux10*, hpux11*, archive_cmds): drop +s, unneeded here (hpux9*, hpux10*, hpux11*, hardcode_libdir_flag_spec): add +s before +b (hpux9*, hpux10*, hpux11*, shlibpath_overrides_runpath): since +s appears before +b, set it to yes (hardcode_shlibpath_var, hardcode_action): do not use shlibpath_var to specify the compile-time search path; it loses, and we may end up linking with pre-installed older versions of libraries instead of yet-to-be-installed ones (*, hardcode_direct, hardcode_minus_L): remove entries that set them to no, that is default
* demo/Makefile.am (hc-direct, hc-libpath, hc-minusL): link with $$hardcode_libdir_flag_spec, if available, with libdir=$(libdir), to make sure the hardcode_* variables will produce the expected results even in the presence of a hardcoding flag; depend on libhello.la having been installed already (hc-libflag): link with the installed library, but try to hard-code the uninstalled one * doc/libtool.texi: document the changes
* tests/*.test: when a test fails, skip tests that depend on it. If a certain configuration is not supported, skip all its tests.
* doc/libtool.texi: reorder tests to reflect execution order
* tests/noinst-link.test: new test * tests/Makefile.am (TESTS): added noinst-link.test * doc/libtool.texi: document it
* ltmain.in (dependency_libs): There is no reason to infer that the pseudo library is invalid if dependency_libs='' at install-time, or else libltdl/libltdl.la is invalid!!
* merged my inter-library dependencies code from the ILD branch: * NEWS: inter-library dependencies are now supported * configure.in: add the depdemo subdirectory * depdemo/*: new demo to demonstrate inter-library dependencies * tests/depdemo*: new tests for depdemo * ltconfig.in: added hardcode_into_libs (whether library paths should be hardcoded into the libraries), it currently defaults to 'no' * ltmain.in: new internal 'relink' mode to relink libraries on platforms with hardcode_into_libs=yes, save command line arguments in libtool_args, accept relative -L directories, ignore -lm on BeOS and Cygwin, always ignore -lc, handle -l, -L and .la arguments later, always make the library installation directory (-rpath) absolute, in relink mode don't delete the not-relinked library and exit immediately after relinking, try to find already-installed libtool libraries that were specified using -l, support hardcoding of library paths into libraries too, export shlibpath before linking libraries, and a lot of other big changes that I don't want to describe here... please read the source. * merged Gary's Win32 code from the ILD branch: * NEWS: Win32 DLLs are now supported * TODO: removed .a library namespace clash for win32. It is now resolved. * ltconfig.in (cygwin, library_names_spec): removed $libname.a. Creating a dll with libtool no longer creates an import library. * ltconfig.in (extract_expsyms_cmds): Create $objdir if it does not exist -- i.e. we need to generate import an import library in a directory which has no libs of its own. * doc/libtool.texi (old_archive_from_expsyms_cmds, extract_expsyms_cmds): documented these new variables. * ltconfig.in (extract_expsyms_cmds): New variable. Commands to extract the exported symbol list from a dll. (old_archive_from_expsyms_cmds): New variable. Commands to build an old archive from the extracted expsyms list. * ltmain.in: run the cmds in extract_expsyms_cmds and old_archive_from_expsyms_cmds as necessary. * ltconfig.in (cygwin, old_archive_from_new_cmds): no longer required. * ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even sure whether win32 honours the runpath at all when searching for a dll to load! Anyway, when set to yes this prevents a gratuitous warning. * ltmain.in (deplib): The cygwin environment doesn't actually have -lm, and although the linker fakes having one, specifiying it to libtool will break ILD, so we ignore it when generating dependencies.
* doc/PLATFORMS: Thanks to Alexandres changes below, both my hp boxes pass the entire test suite.
typo (won't I ever learn that Zadok ends with k?)
* ltconfig.in (hpux*, hardcode_minus_L): should be no, we have +b (hpux*, hardcode_libdir_separator): set to colon
* doc/PLATFORMS: egcs is gcc; updates from Erez Zadoc
* ltmain.in (deplibs, beos*): don't append -lc Reported by Xavier Pianet <xavier@xingo.com>
* tests/build-relink.test (hardcode_action): when set to relink, skip the test with lt-hell
* Makefile.am (EXTRA_DIST): add mkstamp Reported by Xavier Pianet <xavier@xingo.com>
* Makefile.am (EXTRA_DIST): add ChangeLog.0
started new ChangeLog
* ltconfig.in: some cosmetical changes * ltmain.in: ditto
* configure.in, libtool.spec, NEWS: bump to 1.3a * Branched for release 1.3 (branch-1-3) * configure.in, libtool.spec, NEWS: bump to 1.2g
* configure.in, libtool.spec: bump to 1.2f * doc/PLATFORMS: ditto * NEWS: libtool 1.2f released
* ltmain.in: silence ``unbug :-) detected by sh.test
* TODO: we now use full pathnames for `file'
* TODO: libltdl is now documented * doc/libltdl.texi (linking with installed libtool libraries): fixed typo * doc/libltdl.texi (libltdl): added documentation for building libtool modules and examples how to embed libltdl * ltmain.in: don't ignore user-specified run-paths (fixed it at the right place)
* ltmain.in (deplibs_check_method=none): discard -L and -R switches when testing whether deplibs contains some library
* config.sub: recognize hppa2.0w, yet to be installed at GNU
* config.guess: minor update for FreeBSD-elf, yet to be installed at GNU
* ltconfig.in (bsdi4*, sys_lib_search_path_spec, sys_lib_dlsearch_path_spec): fix thinko in variable names; add standard directories
* ltmain.in (exclude_expsyms): exclude symbols before sorting, otherwise only the sorted list will have them excluded
* ltconfig.in (file_magic_cmd, file_magic_test_file, freebsd-elf*, bsdi4*): use full pathnames when possible
* Makefile.am (all-recursive): depend on ACINCLUDE_M4_LIST (all-local, check-local): remove, unused
* doc/PLATFORMS: updated platforms tested on 1.2f-pre; clean up; reorder; untabify
* config.guess, config.sub: updated from GNU common
* doc/libtool.texi: notes on thread-safety problems of libltdl/dlopen on GNU/Linux and FreeBSD
* ltconfig.in (aix3*, aix4*): GNU ld on AIX is very broken: it cannot create working shared libraries. Print a warning suggesting the user not to use it and disable shared libraries.
* ltconfig.in (global_symbol_to_cdecl): was reset before trying `symprfx=_', rendering the test with `_' useless
* doc/libtool.texi (AM_PROG_LIBTOOL): eliminate overfull boxes
* doc/libtool.texi: complete dlopening/libltdl documentation
* ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does not really work; use file_magic instead. (osf3*, osf4*): customize sys_lib_[dl]search_path_spec
* ltconfig.in (file_magic_test_file): new variable; if set, it will be used as an argument for $file_magic_cmd to test whether the regex in deplibs_check_method matches its output (file_magic_cmd): use full pathnames whenever possible
* ltconfig.in (sys_lib_dlsearch_path_spec): new variable, that lists the system *run-time* search path. Listed directories are not implicitly hard-coded into executables. * ltmain.in: use it, but *never* discard -R flags * doc/libtool.texi: document it * NEWS: ditto Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tests/sh.test: look for `$Xsed' without `$echo "X...' * ltconfig.in, ltmain.in: fixed a few such occurrences
* ltmain.in (-static, -all-static): revert March 11's patch, I was barking up the wrong tree
* libltdl/ltdl.c: removed FILENAME_MAX since LTDL_FILENAME_MAX is sufficient and doesn't break HP/UX
* ltconfig.in: (global_symbol_pipe) extract symbol tag from the output of NM too (global_symbol_to_cdecl): new variable; convert the output of global_symbol_pipe to valid C declarations; on HP/UX, convert text symbols to function declarations * libtool.m4: similar modifications * doc/libtool.texi: document new variable * ltmain.in: use global_symbol_to_cdecl to generate lt_dlpreopened symbols; avoid extracting symbol lists from dlpreopened files twice; do not filter symbols from dlpreopened libraries * TODO: fixed HP/UX dlpreopening problem
* ltmain.in (-static, -all-static): set dlopen_self to $dlopen_self_static regardless of link_static_flag or pic_flag
* ltmain.in: FreeBSD bug that needs symbol table compiled with -fPIC is fixed in release 3.1; use it only for 2.* and 3.0
* ltmain.in: when building a library it doesn't make
sense to remove a relinked program ("lt-" prefix)
* mdemo/main.c (main, test_dl, test_dlself): propagate error conditions better, to avoid false positives
* */configure.in: AC_SUBST(LIBTOOL_DEPS) * */Makefile.am $(OBJECTS): depend on libtool (libtool): rebuild automatically
* ltconfig.in: set dlopen_* variables to unknown when appropriate * ltmain.in: only emit warning about lack of AC_LIBTOOL_DLOPEN if *all* dlopen_* variables are set to unknown
* ltmain.in: delete the old output files (incl. the relinked binary) before linking.
* ltconfig.in: replaced `configure' with $progname and all line numbers with @LINENO@
* libltdl/ltdl.c (strdup): cannot return str when it's NULL because of const correctness
* libltdl/ltdl.c (strdup): always use our own, because the standard strdup won't use lt_dlmalloc
* ltconfig.in (dlfcn.h): function definition may cause warnings; define variable instead
* ltmain.in: properly create an export file for a program, avoiding error messages about not finding it
* TODO: need to document AC_LIBLTDL_*; static self dlopening problem fixed
* libtool.m4 (AC_LIBTOOL_DLOPEN): just set lt_dlopen=yes (AC_LIBTOOL_SETUP): if lt_dlopen=yes, add --enable-dlopen to libtool_flags; drop --enable-dlopen-self * ltconfig.in: perform all the dirty work of testing for dlopening support, because we need platform-dependent equivalents for -export-dynamic, for self dlopening, and -static, for static self dlopening (dlopen_self_static): new configuration variable that is set to yes only if static programs can dlopen themselves * ltmain.in (-static, -all-static): dlopen_self=dlopen_self_static
* libltdl/configure.in (libltdl_cv_need_uscore): do not assume dlfcn.h and LTDL_LAZY exist; use LTDL_GLOBAL and LTDL_LAZY_OR_NOW. This test is likely to fail if self-dlopening does not work, especially because we do not link the program with -export-dynamic. Let's just hope that platforms whose symbol names start with underscores will also accept underscores for dlopen. We should probably use libtool to compile and link this test, so that we can use -export-dynamic.
* mdemo/Makefile.am (@LIBLTDL@): depend on ../libltdl/config.h
* configure.in: fix AC_OUTPUT_COMMANDS for ltconfig and ltmain.sh so that they work if srcdir is relative too
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE): avoid introducing multiple --enable options when re-running config.status * libltdl/configure.in: if enable_ltdl_* is not set, assume no * configure.in: if enable_ltdl_install is not set, enable it
* libltdl/configure.in: only assume implicit installation if libltdl was libtoolized. If not, print a warning message suggesting the use of --enable-ltdl-install or of one of the AC_LIBLTDL_* macros.
* libtool.m4 (AC_LIBTOOL_SETUP): new macro, that does all the configure-work that AC_PROG_LIBTOOL used to do; add --cache-file=$cache_file to libtool_flags (AC_PROG_LIBTOOL): call AC_LIBTOOL_SETUP, save the cache, run ltconfig and reload the cache * configure.in: run AC_LIBTOOL_SETUP, then set LIBTOOL_FLAGS to libtool_flags * ltconfig.in: support --cache-file switch. If it is used, load the cache in the beginning and save it just before terminating
* tests/Makefile.am (TESTS): run demo-nofast before demo-shared
* configure.in: create ltconfig and ltmain.sh at the end of config.status, if they do not exist. This fixes the bootstrap problem reported by Erez Zadok <ezk@cs.columbia.edu>
*** empty log message ***
* NEWS: ordered by importance * Makefile.am: set LIBTOOL_FLAGS when generating libtool * configure.in: check for dlopen support and set LIBTOOL_FLAGS accordingly
* configure.in: fix spacing for --disable-ltdl-install, always configure libltdl, add libltdl/acinclude.m4 to ACINCLUDE_M4_LIST, disable installation of libltdl if necessary * libltdl/Makefile.am: set version info for libltdl.la * libltdl/configure.in: don't check whether enable_ltdl_convenience/install was set so that libltdl can be used as independent package (libltdl.tar.gz) without the need to use --enable-ltdl* * libltdl/ltdl.c: minor cleanups, allocate the line cache dynamically (lt_dlopen)
* libltdl/ltdl.c (lt_dlopen): some preprocessors choke if the `#' of `#define' is not in column 1; let's go back to fortran! :-) Add #undefs too, to avoid potential warnings or errors.
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE): renamed convenience libltdl, dropped toinst hack for installable * libltdl/Makefile.am: ditto * libltdl/configure.in: ditto; abort if none of the macros is used
* ltmain.in: $output_objdir/$objdir/ -> $output_objdir/lt-
* libltdl/ltdl.c (lt_dlopen): don't hardcode the length of the constant strings
* Makefile.am (install-data-hook): install libltdl as a directory, not as a tar-file, so that we do not modify the build tree at make install time * libtoolize.in (ltdl, ltdl_tar): update
* configure.in, Makefile.am, NEWS: install libltdl by default
* libtool.m4 (AC_LIBLTDL_INSTALLABLE, AC_LIBLTDL_CONVENIENCE): new macros * NEWS: ditto * libltdl/configure.in: if none of the new macros or configure arguments are used, warn and build convenience library only * libltdl/Makefile.am: conditionally build convenience libltdl.la * mdemo/configure.in: use AC_LIBLTDL_CONVENIENCE * mdemo/Makefile.am: refer to @LIBLTDL@
* NEWS: updated.
* ltmain.in: extract symbols from program objects to nlist first, then translate them to the export_symbols format. Now it works, but it appears to be needlessly extracting the symbol list from dlpreopened libraries twice
* ltmain.in: temporarily disable dlopen_self when linking with -static or -all-static, until we figure out how to test whether it works at configure time * TODO: remember to fix this later
* tests/build-relink.test: when hell is expected to fail, run it within a subshell and redirect stderr to stdout, so that dynamic linker errors are only printed in verbose mode
* ltmain.in (hardcode_libdir_separator, compile_rpath, finalize_rpath): only substitute hardcode_libdir_flag_spec if hardcode_libdirs is non-empty
* libtool.m4 (AC_LIBTOOL_DLOPEN): do not depend on the existence of dlfcn.h nor on the definition of RTLD_LAZY
* tests/build-relink.test: hellT was renamed to lt-hell
* libltdl/Makefile.am (@TOINST@/libltdl.la): do not hide the command that creates the TOINST directory; remove `-o $@' from the LINK command, $(LINK) already contains it.
* doc/libtool.texi (tests): documented demo-nofast.test and renamed cdemo* to demo*
* libltdl/Makefile.am, libltdl/configure.in, mdemo/Makefile.am: libltdl must not be renamed; if there's a problem with the install option, let's fix it, not just work around it by breaking code of users of the convenience library
* tests/build-relink.test: link broken libhello.la with at least one libtool object
* TODO: updated (libltdl build problem fixed) * doc/libtool.texi (libltdl interface): removed the line which promised that lt_dlopen will return NULL if it can't resolve all symbols * libltdl/Makefile.am, libltdl/configure.in: fixed build problem: renamed the convenience library to libltdlc.la and the installed version to libltdl.la * ltmain.in (wrapper script): replaced the "T" suffix of the program file name with a "lt-" prefix * mdemo/Makefile.am: use libltdlc.la * tests/Makefile.am, tests/demo-nofast.test: added demo to test --enable-fast-install=no
* tests/Makefile.am (TESTS): run hardcode before build-relink trashes libhello.la * tests/hardcode.test (need_prefix): set to yes so that _inst is not removed
* ltmain.in (compile_command): append finalize search path to compile search path
* tests/build-relink.test: new; check shlibpath_overrides_runpath * tests/Makefile.am (TESTS): add build-relink.test; remove hardcode.test duplicates * doc/libtool.texi: document it
* ltmain.in (relink_command): do not prepend cd `pwd` to it, the scripts already enters the correct directory, and expanding the pathname would prevent the build tree from moving
* ltconfig.in (enable_fast_install): force it to no only if we need relink; in the other cases, set it to needless * ltmain.in (fast_install): if needless, set relink_command empty * doc/libtool.texi (fast_install, shlibpath_overrides_runpath): document the new behavior
* ltconfig.in (enable_fast_install): test whether it can be forced off after shlibpath_overrides_runpath and enable_shared are set
* TODO: updated * NEWS: updated
* TODO: scheduled some items for next release/future * demo/configure.in: use AC_LIBTOOL_DLOPEN * libtool.m4: added AC_ENABLE/DISABLE_FAST_INSTALL macro * ltconfig.in: added --disable-fast-install flag * ltmain.in: partially reverted Alexandre's patch and implemented on-demand linking in such a way that the old developer-friendly linking style is optional, don't hardcode library paths that are in the system search path, fixed a typo in lib_search_path, implemented -export-symbols-regex for programs
* libltdl/ltdl.c (LTDL_LAZY_OR_NOW): renamed from LTDL_NOW; prefer LAZY loading because it's much faster and NOW is apparently partially broken on FreeBSD Reported by Archie Cobbs <archie@whistle.com>
* ltconfig.in (archive_expsym_cmds, solaris, without_gnu_ld): $lib.exp already starts with $objdir/ Reported by Godmar Back <gback@cs.utah.edu>
* ltmain.in (freebsd): compile symbol table file with pic_flag only on FreeBSD and when not static linking; it's been causing trouble on platforms such as OpenBSD.
* libtool.m4 (cygwin): s/\(mingw\|cygwin\)32/\1/g. Must've missed this file when I changed to cygnus' new sanction name.
* ltconfig.in (sub_uncdrive): removed. This won't work with the next version of cygwin. (sub_uncdir): removed. We use <drive>:/path/to/executable now. * libtool.m4 (AC_PROG_LD): removed sub_uncdrive and sub_uncdir.
* TODO: added items for next alpha release, ILD etc. * libltdl/ltdl.c: removed unnecessary check from presym_sym, fixed bug in lt_dlclose, allow lt_dlopenext(NULL), set deplibs for lt_dlopen(NULL)
* ltmain.in (file_magic_regex): sed `10q' is faster than `11,$d'
* ltconfig.in (dlopen, dlopen_self): default is unknown * ltmain.in: fixed -dlopen self, print a warning if -dlopen is used without AC_LIBTOOL_DLOPEN * mdemo/Makefile.am: use -dlopen self
* ltmain.in: added missing mkdir $progdir for on-demand executable
* ltmain.in: create on-demand executable as $progdir/$$-$program, and rename it to $progdir/$program only when it's finished, to avoid race conditions. We can still get the program linked multiple times, if multiple instances are started simultaneously and the program does not exist, but they are very unlikely to interfere with each other. There's still a possibility that one process removes the $program another has just created, and doesn't replace it before the other tries to run it, in a system whose `mv' is not atomic, so it will $rm then $mv, but so what? :-) Locking files have been avoided to prevent dead-locks in case they are left over after a reboot or crash.
* TODO: removed ILD, soon to be merged, and added convenience libraries docs
* ltconfig.in (irix5*, irix6*, shlibpath_overides_runpath): yes
* ltmain.in: remove on-demand executable in the proper place, and just warn if it can't be removed; add wrapper code to test whether the install-executable is newer than the build-executable, to relink it when it appears to be out-of-date
* libltdl/configure.in: check for dld.h * libltdl/ltdl.c: include dld.h (dld_open) it's spelled memory_error, not no_memory_error Reported by Stefan Burstroem <f94sbu@efd.lth.se>
* ltmain.in: fix typos in my last change (s/ocmpile/compile/)
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle when dlopening the executable * libtool.m4 (AC_LIBTOOL_DLOPEN): removed the redundant "yes: " prefix for lt_cv_dlopen, renamed lt_cv_dlopen_LIBS to lt_cv_dlopen_libs (more consistent) * ltmain.in: implemented -dl[pre]open self, necessary for lt_dlopen(NULL), generation of exported symbols was broken
* ltmain.in: avoid duplication of -L switches, it sometimes breaks IRIX 5.2's linker
* ltconfig.in (freebsd*, finish_cmds): expand objformat here Reported by Vladimir Kushnir <kushn@mail.kar.net>
* ltconfig.in (freebsd-elf*, need_version, need_lib_prefix): no (freebsd-elf*, library_names_spec): add $libname.so instead of $libname.so$versuffix; add $libname$release.so
* doc/libtool.texi: remove ticks from menu items; it breaks TeX Reported by Erez Zadok <ezk@cs.columbia.edu>
* ltmain.in: fixes for export-symbols dry-run
* ltconfig.in (shlibpath_overrides_runpath): new variable; determines whether LD_LIBRARY_PATH or equivalent can be used to override a hard-coded library search path; default to unknown (linux-gnu*): set it to no (solaris*, sunos4*): set it to yes * ltmain.in (build_libdirs_flags, build_libdirs, build_rpath): if shlibpath_overrides_runpath is not yes, arrange that wrapper scripts create, on demand, programs that use uninstalled libraries * doc/libtool.texi: document it
* libtool.m4 (AC_LIBTOOL_DLOPEN): check for dlopen in libc before trying in dl. Add the actual dlopening type to lt_cv_dlopen, and add any needed libraries to lt_cv_dlopen_LIBS. Add test for MS-Windows' LoadLibrary. Check whether a program can dlopen itself only if we really have dlopen(), not some equivalent function, but leave room for testing with other mechanisms. (AC_PROG_LIBTOOL): assume some form of dlopen, but not dlopen(NULL), is available if AC_LIBTOOL_DLOPEN is not used, for backward compatibility.
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle where appropriate, when dlopening a non-libtool library
* ltconfig.in (export_symbols_cmds): renamed from export_symbols_cmd. (cygwin, mingw): Be sure to compile the ltdll.c object before extracting the exported symbol list. Extract only the names of the exported symbols from the def file [otherwise we might run into trouble with -export-symbols-regex]. (archive_expsym_cmds): Regenerate the def file from the symbol export list. (delay_variable_subst): New sed expression to allow us to delay evaluation of $foo in a double_quote_subst evaluated variable by using $. * ltmain.in (export_symbols_cmds): evaluate each ~ delimitted cmd separately. * doc/libtool.texi (libtool script contents): new paragraph to explain the difference between _cmd and _cmds suffixes for variable names. (export_symbols_cmds): renamed from export_symbols_cmd.
* ltconfig.in (ld_shlibs): move -soname and similar flags to the end of archive_cmds and archive_expsym_cmds, so as to prevent gcc's collect2 from inserting an object file between -soname and the library name
* ltconfig.in (archive{,_sym}_commands): Be careful not to
re-export the dll entry points DllMain@12, _cygwin_dll_entry@12 and
_cygwin_noncygwin_dll_entry@12 to avoid bugs with the wrong entry
function being called with inter-dll dependencies.
Reported by DJ Delorie <dj@delorie.com>
* THANKS: Added DJ Delorie, since his code inspired the impgen.c
program and because he has patiently answered all of the
irritating dll and win32 questions I have fired at him.
* ltconfig.in (openbsd*, netbsd*, library_names_spec): append
alternate name without ${release}, otherwise build fails when
-release is used
* ltmain.in (version_type): Oops. Irix versioning implies that major version numbers are 1 based (not zero based). Fixed.
* ltmain.in (version_type): Implement irix versioning.
* ltconfig.in (irix{5,6}*): Use new irix shared object versioning.
* TODO: remove irix versioning from TODO list.
* ltmain.in (impgen.c): Added a new embedded C file that can be used under win32 to extract a def file (symbol export list) from a dll that has none. Code to use it might need to wait for the ILD merge before it will be useful...
* TODO: updated * autogen: only libltdl needs autoheader * doc/libtool.texi (link mode): documented -export-symbols-regex and updated -export-symbols * doc/libtool.texi (script contents): documented always_export_symbols, export_symbols_cmd, exclude_expsyms, include_expsyms, dlopen and dlopen_self more detailed description of need_lib_prefix * ltconfig.in: a "'" was missing in the default value of export_symbols_cmd * ltmain.in: implemented -export-symbols-regex
* ltconfig.in: (freebsd2*, sunos4*, exclude_expsyms): exclude _GLOBAL_OFFSET_TABLE_ * ltmain.in: implement exclude_expsyms with egrep
* libltdl/ltdl.c (lt_dlmalloc, lt_dlfree): SunOS' cc can't cope with argument lists, we __P even in the definition
* cdemo/Makefile.am: renamed *foo1 to *foo, removed $(MATH_LIB) * cdemo/foo1.c: renamed to foo.c * libltdl/ltdl.c: eliminated lt_dltype, in presym_open(): search for @PROGRAM@ if filename == 0, in lt_dlopen(): fixed bug for filename == 0 * libltdl/ltdl.h: use __P macro for lt_dlmalloc/free * libtool.m4: new macro AC_LIBTOOL_DLOPEN: checks for dlopen and dlopen(NULL) support * ltconfig.in: added new variables dlopen and dlopen_self, --enable-dlopen[-self] flags for AC_LIBTOOL_DLOPEN * ltmain.in: use dlopen[_self], dlpreopen files if there's no dlopen support, build lt_preloaded_symbols only if -dl[pre]open was used, include program symbols if -export-dynamic was specified and there's no dlopen(NULL) support * mdemo/configure.in: use AC_LIBTOOL_DLOPEN * mdemo/main.c: demonstrate lt_dlopen(0)
* demo/dlmain.c (_WIN32): The lt_symlist structure is now const, so my original horrible temporary win32 hack no longer worked. Here is a new horrible temporary hack to prevent helldl from SEGVing on win32. I will fix this properly when we figure out how to do data exports from dlls.
* libtool.m4 (AC_CHECK_LIBM): do not set MATHLIB or AC_SUBST it, this has a negative side-effect of causing automake to add MATHLIB to every single Makefile. Let's use plain AC_CHECK_LIB, so that LIBS get set, until we find a better alternative * *demo/Makefile.am: remove $(MATHLIB)
* libltdl/configure.in: add a DESCRIPTION argument to AC_DEFINEs where appropriate, so as to get rid of acconfig.h * libltdl/acconfig.h: removed
* *demo/Makefile.am: use $(MATHLIB) * *demo/configure.in: use AC_CHECK_LIBM * doc/libtool.texi: renamed file_magic_command to file_magic_cmd, renamed archive_sym_cmds to archive_expsym_cmds * ltconfig.in: ditto * ltmain.in: ditto * libltdl/ltdl.c: use lt_dlmalloc/free * libltdl/ltdl.h: define lt_dlmalloc/free * libtool.m4: added AC_CHECK_LIBM macro * ltconfig.in: renamed archive_sym_cmds to archive_expsym_cmds, added always_export_symbols, export_symbols_cmd, exclude_expsyms, include_expsyms, removed archive_cmds for cygwin/mingw and AIX, on Solaris store the exported symbols list in objdir * ltmain.in: allow -export-symbols for modules, use thread_safe flag, add include_expsyms to the exported symbols
* libltdl/ltdl.h (_LTDLL_EXTERN): libltdl is no longer linked as a shared library, so the _declspec's were preventing the linker from resolving symbols on win32. They have been removed now.
* ltmain.in: don't try to read objdir/libname.la before it is created!
* ltmain.in: create libname.lai at link time, not at install time, Reported by Akim Demaille <demaille@inf.enst.fr>
* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed
* autogen: libltdl needs autoheader * demo/Makefile.am: renamed hell.debug to hell.static (we're demonstrating static linking, not debugging) * tests/demo*: ditto * doc/libtool.texi (libltdl): documented new lt_dlopen(NULL) feature * libltdl/acconfig.h: required for config.h * libltdl/configure.in: use config.h * libltdl/ltdl.c: use config.h, support lt_dlopen(NULL) (returns a handle for the program itself) * ltconfig.in: minor reformatting * ltmain.in: in lt_preloaded_symbols always define the program's symbols first, for -export-dynamic list all program symbols together, -export-symbols was broken for programs, minor reformatting * mdemo/Makefile.am: renamed mdemo.debug to mdemo.static * tests/mdemo*: ditto, mdemo.test was completely broken
* ltconfig.in (irix5*, irix6*, osf3*, osf4*): do not use -set_version in archive_cmds if verstring is empty (irix6*, shlibpath_var, sys_lib_search_path-spec, deplibs_check_method): set appropriate values depending on selected ABI, -32, -n32 or -64, as set in LD by libtool.m4 (uts4*): remove dot between .so and versuffix
* ltconfig.in (irix5*, irix6*, deplibs_check_method): use file_magic for inter-library dependency tracking
* ltconfig.in (irix5*, hardcode_libdir_separator): set it to a colon, because on IRIX 5 only the last -rpath switch prevails, and it can be a list of colon-separated directories. This change will affect irix6 too, but that's not a problem.
* ltconfig.in (irix5*, library_names_spec): add soname_spec, otherwise we can't dlopen
* ltconfig.in: according to Marcus Sundberg <mackan@stacken.kth.se> HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support need_version=no and need_lib_prefix=no, fixed a bug in Solaris' archive_sym_cmds
* libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in addition to space as separator, and allow more than one space between the symbol code and the symbol name; HP/UX's nm, for example, uses two spaces * ltconfig.in (global_symbol_pipe): ditto (bsdi4, deplibs_check_method): variable name was misspelled * libltdl/configure.in (libltdl_cv_preloaded_symbols): rewrite test, so as not to depend on the way global_symbol_pipe is initialized; the current test would get false positives, as global_symbol_pipe was initialized `x=""', not `x='
* libltdl/ltdl.c (find_module): initialize filename if dir is NULL Reported by Godmar Back <gback@cs.utah.edu> 1999-02-04 Godmar Back <gback@cs.utah.edu> * libltdl/ltdl.c (lt_dlopenext): missing space for terminator when allocating memory for shlib_ext
* ltconfig.in: new config.guess returns *-*-cygwin now instead of *-*-cygwin32. sed -e 's%(cygwin|mingw)32%1%g' ltconfig.in * ltmain.in: sed -e 's%(cygwin|mingw)32%1%g' ltmain.in * ltconfig.in (hardcode_libdir_flag_spec, allow_undefined_flag, archive_cmds, archive_sym_cmds, old_archive_from_new_cmds): removed duplication of config by assuming that `test $with_gcc = yes' implies gnu ld, otherwise MSVC++ (which I haven't tested since I inheritted the code from Ian Lance Taylor btw!) is implied.
* ltdl.c (lt_dlopenext): tmp would be trashed if shlib_ext was longer than 3 characters
* ltmain.in: Reverted this change of Alexandre's from the 1999-01-25; "don't try to use .o instead of .lo just because there's no PIC flag. It loses if --disable-static, and there's not much point if we're referring to the same file anyway...", because not all linkers will accept .lo object names. * ltmain.in: In the case where --disable-static is specified (as noted in Alexandre's log entry), we just link some .o files to prevent the original error. Reported by Andrey Slepuhin <pooh@msu.ru>
* libtoolize.in: search for A[MC]_PROG_LIBTOOL, not AM_PROG_LIBTOOL Reported by Jeff Garzik <jgarzik@pobox.com>
* THANKS: Now that we have a policy, applied it to the existing list. This in no way demeans the work of those people removed from the THANKS file, who are still credited in the ChangeLogs and without who's work, libtool would not work so well on many platforms, but serves to highlight the outstanding and continued contribution the remaining people have made. And I quote, "We reserve THANKS for people who have made major contributions, and leave the credit to the others for the ChangeLog only."
* THANKS: added Sam Vilain.
* ltconfig.in ($echo): When using printf to replace echo the shell expands %sn to %sn. Changed to use "%sn" (with quotes). Reported by Sam Vilain <sam.vilain@nz.unisys.com>
* libltdl/ltdl.c (find_file): fix endless loop condition (find_module): filename allocation was off by 1
* libltdl/Makefile.am (distclean-local): renamed from distclean-hook, that didn't work
* libltdl/ltdl.c (lt_dlopen, non-.la): find_file now returns 0 on failure
* Makefile.am (ltconfig, ltmain.sh): some broken makes don't like macros in targets; replace $(srcdir) with @srcdir@ * configure.in (ACINCLUDE_M4_LIST): same problem; expand $srcdir
* libltdl/Makefile.am (@TOINST@/libltdl.la): if installation is enabled, create to-be-installed libltdl.la within @TOINST@ directory (noinst_LTLIBRARIES): even if installation is enabled, build convenience libltdl.la, otherwise builds of random packages may fail if the user happens to enable installation (distclean-hook): wipe out $(TOINST) * libltdl/configure.in: set TOINST and LIBLIBS as appropriate; don't set NOINSTLIBS any more * mdemo/Makefile.am: use libltdl.la
* libltdl/ltdl.c (find_file): oops, filenamesize was miscomputed
* libltdl/ltdl.c (find_file): allocate filename dynamically
* libltdl/configure.in (AC_PROG_LIBTOOL): automake does not recognize it and fail, better keep using AM_PROG_LIBTOOL until the next release of automake * demo/configure.in, cdemo/configure.in: ditto * depdemo/configure.in, mdemo/configure.in: ditto
* libltdl/ltdl.c: make all global strings char[], not char*; check that all calls to malloc() are properly cast (strdup, strchr, strrchr, trim, free_vars): declare as inline (find_module): allocate filename dynamically; support null dir (free_vars): free dir and name only if non-null (lt_dlopen): keep dir as NULL if not given; fix expression that calculated the size of name; only free and name if non-null (lt_dlopenext): allocate tmp dynamically
* configure.in (pkgdatadir): expand ${PACKAGE} at configure-time,
just like automake does
* configure.in (pkgdatadir): define pkgdatadir explicitly, and * Makefile.am (aclocaldir): do not set it explicitly, automake does already
* configure.in (TIMESTAMP): use mkstamp here too
* cdemo/configure.in: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL * demo/configure.in: likewise * depdemo/configure.in: likewise * libltdl/configure.in: likewise * mdemo/configure.in: likewise * libltdl/ltdl.c: in find_module() check whether libdir is defined, tryall_dlopen(): move deallocation of an already opened handle to lt_dlopen(), allocate the directory in lt_dlopen() dynamically, minor cleanups, fixed memory leak (name) * libtool.m4: renamed all AM_ macros to AC_ and added aliases for compatibilty, updated AC_SYS_NM_PARSE (no undefined symbols, don't count the symbols) * ltconfig.in: added thread_safe_flag_spec (not used yet), added generic variable for linker options "linkopts" in all archive_cmds * ltmain.in: added -thread-safe flag (unused)
* ltconfig.in (LTCONFIG_VERSION): damn!, adding TIMESTAMP doesn't ltmain.sh to be updated every time ChangeLog changes, better revert it
* ltconfig.in (LTCONFIG_VERSION): add TIMESTAMP, remove explicit quotes and add it to the list of variables to quote
* ltmain.in: reworded `dropped inter-library dependencies' message, and added a warning about inter-library dependencies even for non-module builds
* Makefile.am (install-data-hook): Don't show the if expression that tests for gzip with a conditional error message; just do it quietly and show the error if it fails, or the next action if it succeeds.
* configure.in: It seems Alexandre accidentally removed the AC_SUBST(pkgdatadir) line recently which breaks libtoolize. Reverted that small change.
* libltdl/ltdl.c (find_module): test old_name and dlname for NULL, not len==0
* libltdl/configure.in (libltdl_cv_objdir): yes, appending the "/" in configure.in was much simpler * libltdl/ltdl.c (objdir): ditto
* libltdl/ltdl.c (objdir): string collation isn't portable; strcat "/" explicitly. Or should this be moved to configure.in?
* libltdl/ltdl.c: allocate the variables in lt_dlopen() dynamically
* ltmain.in (file_magic): use egrep instead of expr to support more general regular expressions (file_regex): remove it; the name is misleading, it's not used * ltconfig.in, doc/libtool.texi: ditto * ltconfig.in (linux-gnu*, deplibs_check_method): extend regex to support `LSB dynamic lib' in the output of `file' Reported by Scott D. Heavner <sdh@po.cwru.edu>
* ltmain.in (dependency_libs, xrpath): add -R switches to dependency_libs only just before creating the .la file; they should not be passed to the C compiler or linker at library-creation time, since we don't know whether it is supported
* ltconfig.in (freebsd2.2*, hardcode_minus_L): for FreeBSD 2.2.6, this must be `no'
* mkstamp: move the sed script to extract revision and date information into a separate shell-script, so that we can break lines between commands; FreeBSD's sed doesn't like `;' after `t' Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de> * Makefile.am: use mkstamp * THANKS: added Axel Thimm
* ltmain.in: don't try to use .o instead of .lo just because there's no PIC flag. It loses if --disable-static, and there's not much point if we're referring to the same file anyway...
* ltmain.in (pass_all=none, droppeddeps): set only if deplibs was non-empty
* libltdl/ltdl.c: minor bugfixes, append a "/" the search directory only if necessary * ltconfig.in: added support for FreeBSD >= 3.0 (patch from Kurt D. Zeilenga) * THANKS: added Kurt D. Zeilenga
* doc/libtool.texi (libltdl): list supported dlopen mechanisms, added function lt_dlopenext(), removed reference to LTDL_PRELOADED_SYMBOLS in LTDL_SET_PRELOADED_SYMBOLS * libltdl/ltdl.c: partially reverted Alexandre's dynamic string allocation change (it was not necessary and the code was unreadable), cleanups, removed usr_search_path_size, renamed usr_search_path to user_search_path, in find_module() also check for moved modules, merged find_file() and find_library(), added lt_dlopenext(), in lt_dladdsearchdir() no longer reset the search path if 'search_dir' == NULL and don't use realloc() (might not be available on all platforms), removed __P((void)) in the declaration of lt_dlgetsearchpath() * libltdl/ltdl.h: added lt_dlopenext() * ltconfig.in: AIX archive commands were broken, fixed a MAJOR bug in global_symbol_pipe which caused "demo-shared.test;demo-make.test" to fail (libtool must not extract undefined symbols of libraries, i.e. symcode must not contain 'U') * tests/Makefile.am (clean-local): "make distclean" in cdemo, too
* Makefile.am (ltconfig, ltmain.sh): add ChangeLog Revision to TIMESTAMP * configure.in: get values of PACKAGE and VERSION set by AM_INIT_AUTOMAKE, and extract only TIMESTAMP from the ChangeLog
* libltdl/ltdl.c (lt_dlopen): if we're reusing a previously opened handle, don't reset its name nor add it to the list, and free the name we have allocated Reported by Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* Makefile.am (ltconfig, ltmain.sh, TIMESTAMP): let's not assume anything about the format of the date, just that it does not contain `$'
* configure.in (date): echo the version number during configuration, and show $date for cvs versions.
* Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword
expansion ate the sed expression! Changed sed separator to '%'
because there are '/' in the date. Added missing '(' to search
expression. Inserted a null string to stop cvs from expanding it
next time =)O|
($(srcdir)/ltmain.sh): ditto.
* Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps (timestamps, update-timestamps): check whether TSDEPS_DIST are up-to-date and update ltconfig and ltmain.sh if needed (ltconfig, ltmain.sh): depend on TSDEPS; replace @TIMESTAMP@ with the Date tag in the ChangeLog (TSDEPS): empty unless overridden by update-timestamps * ltconfig.in, ltmain.in (TIMESTAMP): append timestamp to most references to VERSION
* ltmain.in (ild): Revert the change which allowed libtool to link libraries with dependencies on .la libs. * NEWS: Removed reference to win32, incase 1.3 ships before ild is ready. * doc/PLATFORMS: Removed i686-pc-cygwin32, for the same reason. * doc/libtool.texi: Removed win32 refs, for the same reason.
* ltmain.in (Xsed): add 1 to Xsed definition that goes into temporary wrapper scripts * libtool.m4: we don't have Xsed here, expand it manually Reported by Pavel Roskin <pavel_roskin@geocities.com>
* ltmain.in (finalize_hardcode_libdirs, finalize_rpath): in platforms that use -rpath, programs must be finalized at installation time, otherwise build-tree programs will prefer installed libraries over build-tree ones
* mdemo/Makefile.am (../libltdl/libtool): if it does not exist, the sub-make for libltdlc.la will take care of it, but we must at least provide an empty rule for it, otherwise the sub-make will never run
* demo/configure.in, demo/Makefile.am (DLPREOPEN): reverted; it didn't make any difference.
* THANKS: Added Chris Laas <golem@MIT.EDU> From Chris Laas <golem@MIT.EDU> * ltmain.in (compile): corrected a typo in compile mode which caused "gcc: unrecognized option -c-fPIC" errors due to a missing space.
* libltdl/configure.in: reintroduce code to detect native library extension * libltdl/ltdl.c (lt_dlopen): if a .la file name is given, that's all. Otherwise, lt_dlopen now tries to append .la first. If this fails, it tries the given filename, and, at last, tries to append the native library extension to the given filename. * doc/libtool.texi (lt_dlopen): explain new lookup strategy
* libltdl/ltdl.c: major rewrite to avoid almost all fixed-size buffers; only `tmp' in lt_dlopen remained. But the code got ugly :-(
* ltconfig.in (linux-gnu*, finish_cmds): remove erroneous backslash
* demo/configure.in: set DLPREOPEN to -dlopen if we don't have shared libraries * demo/Makefile.am (DLPREOPEN): use instead of -dlpreopen (STATIC): use $(STATIC), not @STATIC@ * mdemo/Makefile.am (STATIC): ditto * demo/Makefile.am, mdemo/Makefile.am (STATIC): do not use
* tests/demo-shared.test, tests/demo-static.test: new tests * tests/mdemo-shared.test, tests/mdemo-static.test: ditto * tests/Makefile.am: ditto * doc/libtool.texi: document them * demo/Makefile.am, mdemo/Makefile.am (@STATIC@): do not use -static unconditionally, it can't work with --disable-static * demo/configure.in, mdemo/configure.in: check whether libtool was configured to build static libraries and, if not, set STATIC to an empty string
* ltmain.in (module, droppeddeps): if libtool could not satisfy all dependencies of a module, it will only build a static version of it, and display a warning message
* ltconfig.in (aix4*, with_gcc, archive_cmds): fix typo in Andrey Slepuhin's last patch
* Makefile.am (@DIST_MAKEFILE_LIST@): work around Ultrix /bin/sh bug * tests/nomode.test (must specify a MODE): ditto Reported by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * THANKS: Added Rainer Orth
* ltconfig.in: No known version of Solaris 2 hardcoded -L paths.
* ltmain.in: s/n\'t/ not/ * doc/PLATFORMS: updates for sunos4/m68k and aix
1999-01-20 Andrey Slepuhin <pooh@msu.ru> * ltconfig.in (aix4*): check for reworked collect2, always pass -bnoentry option to linker when building a shared library
* ltmain.in (file_magic): follow soft-links before running `file' on the candidate library; try to avoid entering endless loop Suggested by Nix <nix@esperi.demon.co.uk>
* ltconfig.in (linux*, solaris*, bsdi4*, sys_lib_search_path): remove expansion of $LD_LIBRARY_PATH * ltmain.in (lib_search_path): append the expansion of $shlibpath_var * doc/libtool.texi: document it
* THANKS: Added Steven Schultz 1999-01-20 Steven M. Schultz <sms@wlv.iipo.gtegsc.com> * ltconfig.in (bsdi4*, check_shared_deplibs_method): file_magic (bsdi4*, sys_lib_search_path): add /shlib and other dirs
* cdemo/main.c (main): use K&R definition syntax * mdemo/main.c (test_dl, main): ditto (test_dl): casts return value of lt_dlsym to appropriate types
* ltmain.in (dlsyms): #define const to nothing if not __STDC__
* ltconfig.in (global_symbol_pipe): #define const to nothing if not __STDC__
* demo/dlmain.c (main): cast s->address to the appropriate pointer types, otherwise StunOS4's cc refuses to compile it
* ltconfig.in (sunos4*, without_gnu_ld, with_gcc, archive_cmds): add -fPIC, because libgcc is multilibbed, and we want the PIC version of it for shared libraries, otherwise ld complains
* demo/dlmain.c (main): add missing const to declaration of name
updated TODO
* libltdl/ltdl.c (find_module): remove the libdir argument, and try to open library only as old_name and dir/dlname (lt_dlopen): use `installed' variable in .la file to decide whether to use libdir or objdir
* demo/configure.in (AC_C_CONST): added, for portability * mdemo/configure.in (AC_C_CONST): ditto * libltdl/configure.in (AC_C_CONST, AC_C_INLINE): ditto * libltdl/ltdl.c (LTDL_FILENAME_MAX): use FILENAME_MAX if defined (FILENAME_MAX): replace all explicit uses with LTDL_FILENAME_MAX (presym_free_symlists, trim): don't return void, for portability (lt_dlgetsearchpath): replace (void) with __P((void))
* ltmain.in (compile): when compiling both PIC and non-PIC, write the PIC object to .libs/.lo and only rename it to .lo after compiling the .o, to avoid fooling make dependencies
* mdemo/main.c (LTDL_PREOPENED_SYMBOLS): remove
freebsd-elf deplibs port
* TODO: should we also build a `static' copy of a convenience library out of .o files?
* ltconfig.in (bsdi4*, netbsd*, uts4*, library_names_spec, soname_spec): removed duplicate dot before $major Reported by Steven M. Schultz <sms@wlv.iipo.gtegsc.com> (bsdi4*)
* THANKS: added Manfred Weichel * ltconfig.in (sysv5*): same as sysv4.3*
* libltdl/ltdl.c (lt_dlopen): properly detect error condition when full pathname of non-libtool library is provided
* libltdl/configure.in (libltdl_cv_preloaded_symbols, HAVE_PRELOADED_SYMBOLS): test whether we support -dl*open * libltdl/ltdl.c (!HAVE_PRELOADED_SYMBOLS, lt_preloaded_symbols): define it to an empty list if libtool won't generate it, so as to avoid link errors. This will cause silent dlopening failures, but maybe this is better than failing to link the program...
* libltdl/ltdl.h (LTDL_PRELOADED_SYMBOLS): remove it; better to declare lt_preloaded_symbols * doc/libtool.texi (LTDL_PRELOADED_SYMBOLS): ditto
* ltmain.in (dlpredeps): removed, reverting 1999-01-17's change
* libltdl/Makefile.am (Makefile): depend on libtool
* ltmain.in (lt_preloaded_setup): function added to symbol list source file to work around FreeBSD problem
* Makefile.am (check-local): depend on libltdl/Makefile
* mdemo/Makefile.am (mdemo_LDFLAGS, mdemo_LDADD): moved -dlopen flags to LDADD * doc/libtool.texi (Using Automake): how to add -dlopen to LDADD
reapply andreys patch correctly.
track deplibs for hardcode_action switch
* libtool.m4 (LIBTOOL_DEPS): set it * libltdl/configure.in (LIBTOOL_DEPS): AC_SUBST it * libltdl/Makefile.am (libtool): use it * doc/libtool.texi (AM_PROG_LIBTOOL): document it
* Makefile.am (libltdl.tar.gz): don't create it as part of the build, since it is likely to become stale if we do (install-data-hook): create and install libltdl.tar.gz, without depending on GNU tar Reported by Manfred Weichel <Manfred.Weichel@pdb.siemens.de>
*** empty log message ***
* ltconfig.in (wlarc): set to either '${wl}' or an empty string,
depending on whether archive_cmds runs CC or LD
(gnu_ld=yes, whole_archive_flag_spec): "$wlarc" instead of '${wl}'
* mdemo/Makefile.am (../libltdl/libltdlc.la): depend on ../libtool, because ../libltdl/libtool depends on it (mdemo_debug_*): copy from mdemo_*, adding -static to LDFLAGS
* ltmain.in (dlpredeps): append dependencies from dlopened modules (but not dlpreopened ones) after all explicitly linked libraries
missing entry
* ltconfig.in (need_lib_prefix, need_version, deplibs_check_method): default to unknown, so that we're remembered that this needs porting; unknown is interpreted as yes, yes and none, respectively (freebsd2*, freebsd3*, sunos4*, need_version): set to yes (freebsd2*, freebsd3*, library_names_spec): libraries without a version number are not used by `ld'; add $versuffix; Reported by Ben Jackson <ben@ben.com> * ltmain.in (deplibs_check_method): alias unknown to none (need_version): if vinfo was not provided and release info was, zero out versuffix only if we don't need_version. * doc/libtool.texi: document what `unknown' means
* libltdl/ltdl.h (lt_dlpreopen_default): reverted to a macro without arguments, that calls lt_dlpreopen_default_ with lt_dlpreloaded_symbols * libltdl/ltdl.c (lt_dlpreopen_default_): renamed from lt_dlpreopen_default
improved aix support
*** empty log message ***
*** empty log message ***
* Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and add them to the distribution. Added work-around if `mv -f' fails. fix @AINCLUDE_M4_LIST@ and @DIST_MAKEFILE_LIST@ for relative and absolute specifications of srcdir
*** empty log message ***
*** empty log message ***
don't hardcode the UNIX ; PATH separator
*** empty log message ***
* mdemo/Makefile.am (../libltdl/libtool): mkdir and configure ../libltdl
*** empty log message ***
* doc/libtool.texi (Test descriptions): cdemo-static works, thanks to Edouard Parmelan!
something's wrong with my NFS server :-(
* THANKS: added Sebastian Wilhelmi
* ltconfig.in (solaris): define `need_version' to no 1999-01-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * ltconfig.in (solaris): Define `deplibs_check_method', `file_magic_command', `need_lib_prefix' and `sys_lib_search_path' * ltmain.in (file_magic_regex): Add space before matching pattern, such that it works on solaris (solaris has a tab between the library name (including the colon) and the `ELF' and such the `ELF' will never be matched).
* ltconfig.in (NM): PATH search was not updated like in libtool.m4, in last Alexandre Oliva's change to it (sysv4*, ncr): pass all library dependencies * ltmain.in (dependency_libs, -R): use `dep' instead of `arg' to iterate, otherwise we'd overwrite `arg' (convenience, old_libs): if --disable-shared, convenience libraries are just old archives, as .lo's are of no use * tests/cdemo-static.test: print --disable-shared here
* ltmain.in (dependency_libs, -R): use `dep' instead of `arg' to iterate, otherwise we'd overwrite `arg'
* libltdl/configure.in (libltdl_cv_shlibext, LTDL_SHLIB_EXT): system-dependent extension of shared libraries (libltdl_cv_shlibpath_var, LTDL_SHLIBPATH_VAR): system-dependent run-time shared library search path * libltdl/ltdl.c (dldpre_init, dldpre_exit): unrelate init/exit from add/remove symlists, so one may add dld_preloaded_symbols from main(), when only a library will call dldpre_init (lt_dlopen): use LTDL_SHLIBPATH_VAR, if defined, as secondary search path. Also, if a requested .la file cannot be found, try with the LTDL_SHLIB_EXTension instead.
* ltmain.in (old_archives, oldobjs): use find to SYMDEF here too
* Makefile.am (@DIST_MAKEFILE_LIST@): `$' must be doubled
* configure.in (AC_CONFIG_DIRS): configure only libltdl, and then, only if --enable-ltdl-install (CONF_SUBDIRS): list directories that are configured on demand, but that must be included in the distribution (ACINCLUDE_M4_LIST, DIST_MAKEFILE_LIST): generated from CONF_SUBDIRS * Makefile.am (AUTOMAKE_OPTIONS): added version 1.3e and readme-alpha, to handle README-alpha automatically (EXTRA_DIST): removed README-alpha (BUILD_SUBDIRS): subdirectories that are always built (SUBDIRS): BUILD_SUBDIRS plus BUILD_LTDL (DIST_SUBDIRS): BUILD_SUBDIRS plus CONF_SUBDIRS, from configure (all-local, check-local): depend on $(ACINCLUDE_M4_LIST), from configure, and libtool, so that it is built before subdirs (configure-subdirs): new target (configure-subdirs, distdir): depend on $(DIST_MAKEFILE_LIST), from configure (@DIST_MAKEFILE_LIST@): create subdir if needed, then run configure. On-demand configuration of subdirs at distribution time was suggested by Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
* libtool.m4, ltconfig.in (NM): search for NM in PATH before /usr/ccs/bin, /usr/ucb and /bin. However, if the found one isn't BSD-compat keep searching. If no BSD-compat is found, use the first we found.
* THANKS: added Raffaele Sena 1999-01-13 Raffaele Sena <raff@aromatic.com> * libltdl/ltdl.c: replaced RTDL with RTLD
* ltconfig.in (osf3*, osf4*, irix6*): include
${libname}{release}.so for library_names_spec
* configure.in (AC_CONFIG_SUBDIRS): added cdemo * Makefile.am (DIST_SUBDIRS): ditto (ACINCLUDE_M4_LIST): ditto * tests/Makefile.am (TESTS): added cdemo-shared.test * tests/cdemo-static.test: disable shared libraries here * tests/cdemo-shared.test: disable static libraries here * doc/libtool.texi (Test descriptions): added cdemo tests * THANKS: added Edouard G. Parmelan 1999-01-13 Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM> * ltmain.in: fix convenience libraries when static libraries are disables. * cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h, cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test, test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test: new tests for convenience libraries. * autogen, Makefile.am, test/Makefile.am: ditto. * ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS (i586-ncr-sysv4.3*) with native compiler. * README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
*** empty log message ***
configure --help indentation typo fixed
* ltmain.in, NEWS, doc/libtool.texi: Added support for -R flag * ltmain.in, doc/libtool.texi: documented that -rpath is the same as -R for programs * ltmain.in: softened the instructions for linking with installed libraries, and noted that libtool can be used to link with them; documented that -rpath is not required for convenience libraries
documented old_archive_from_new_cmds
* ltconfig.in (symxfrm): don't print $pipe_works twice, once for each $ac_symprfx Reported by Godmar Back <gback@cs.utah.edu>
* ltmain.in (convenience, libobjs): get only .o and .lo files from the files extract from the convenience library. Some systems, such as FreeBSD2, will add a SYMDEF file, that is not an object file, and therefore should not be fed to the linker
* libtool.m4 (AM_SYS_NM_PARSE): while we are at it, we may well cache the value of ac_cv_sys_symbol_underscore
* libtool.m4 (AM_SYS_NM_PARSE): need for underscore prefix is now auto-detected, by trying first without, then with it * ltconfig.in: ditto
* configure.in (AC_CONFIG_SUBDIRS): add libltdl, demo, mdemo and depdemo commented out, so that `dist' works before `check' (BUILD_LTDL): will contain libltdl if --enable-ltdl-install * Makefile.am (DIST_SUBDIRS): expand SUBDIRS and add depdemo, commented out (SUBDIRS): add $(BUILT_LTDL) * libltdl/Makefile.am (EXTRA_LTLIBRARIES): add libtest.la, the same as libltdl but always a convenience library. Not built by default. Both libraries now depend on the libtool script, that depends on ../libtool and is rebuilt when needed * mdemo/Makefile.am (mdemo, mdemo.debug): depend on and link with ../libltdl/libtest.la, that is rebuilt if needed (mdemo_LDADD): removed $(LIBADD_M), to avoid silent failures (foo1.la): renamed from libfoo1.la; test removing the lib prefix * mdemo/foo1.c: renamed libfoo1_LTX symbols to foo1_LTX * mdemo/main.c: don't include string.h nor math.h, nor refer to sin nor cos * tests/mdemo-exec.test: renamed libfoo1.la to foo1.la * tests/mdemo-inst.test: ditto
* libltdl/ltdl.c (FILENAME_MAX): use it instead of MAX_FILENAME, and don't redefine it if already defined; default to 1024, as on most systems (LT_SYMBOL_LENGTH): renamed from MAX_SYMBOL_LENGTH (LT_SYMBOL_OVERHEAD): new macro, that accounts for the size of the _LTX_ separator and the initial underscore (lt_dlsym): sym now points to a stack buffer (lsym) if possible, or is dynamically allocated. If allocation fails, a buffer_overflow_error is returned.
*** empty log message ***
*** empty log message ***
* libltdl/ltdl.c (lt_dlopen): missing strlen in bound test
*** empty log message ***
default is to allow undefined symbols in libraries
*** empty log message ***
*** empty log message ***
use absolute directory paths in dllsearchpath
revert yesterdays cygwin -dll.a change
Jeff Garzik noticed a Linux wrapper script bug
* ltmain.in (libobjs_save, oldobjs): when building an old-fashioned archive, use a copy of libobjs saved before convenience libraries are appended * libltdl/ltdl.h (_LTDLL_EXPORT, _LTDLL_IMPORT): use cygwin or unix library import/export primitives; this may be convenient for people willing to create DLLs (_LTDLL_EXTERN): select _LTDLL_EXPORT or _LTDLL_IMPORT depending on _LTDL_COMPILE_ * libltdl/ltdl.h, libltdl/ltdl.c (lt_dlpreopen): new function, that replaces the current preloaded_symbols list with its argument, and returns the old value, initially NULL (dldpre_init): don't refer to dld_preloaded_symbols any more (dldpre_open, dldpre_sym): search preloaded_symbols (lt_dlpreopen_default): call lt_dlpreopen with dld_preloaded_symbols, that is declared as extern; it should be called from the main program or from some static library without -no-undefined (lt_dlerror): new function, that returns the error message for the last error occurred; the error message is kept in the static variable last_error * libltdl/configure.in (enable-ltdl-install): moved back from enable-install; other packages might use enable-install already, better have fine grained control over this. * libltdl/Makefile.am (libltdls.la): discarded
*** empty log message ***
* ltmain.in (SP2NL, NL2SP): Don't delete empty lines, as this would lose for files with embedded blanks.
* ltconfig.in (cygwin, archive_cmds, archive_sym_cmds): Moved ltdll.c into ltmain.in, to avoid its duplication, and added a sed script to extract it. Also, create def and base files in $objdir, and don't remove them after the compilation. (cygwin, library_names_spec): Create static part of the dll with suffix -dll.a, to avoid conflicts with actual static libraries. * ltmain.in: Added ltdll.c, as commented out text
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
*** empty log message ***
fix deplibs for non ltlibs on win32
make wrapper scripts work on win32
* ltmain.in (SP2NL, NL2SP): use `tr' magic to avoid passing very long lines to sed * doc/libtool.texi (sed): very long lines are no longer a problem
* libltdl/Makefile.am: install libltdl conditionally... * libltdl/configure.in: ... if --enable-ltdl-install is issued * libltdl/ltdl.c: removed #ifdef DEBUG * mdemo/Makefile.am (mdemo_debug_LDADD, mdemo_debug_DEPENDENCIES): use libltdl.la
more improvements for the win32 port
*** empty log message ***
*** empty log message ***
* Makefile.am (SUBDIRS): prepend `.' to avoid am-recursive dependency hack
*** empty log message ***
misc win32 cleanups
*** empty log message ***
*** empty log message ***
*** empty log message ***
bomb out if autoconf < 2.12.2 is used
* NEWS, configure.in, libtool.spec: Bumped to 1.2e for CVS
* NEWS, configure.in, libtool.spec: Bumped to 1.2d for release
reverted addition of depdemo; it's completely unusable yet :-(
* Makefile.am (cvs-dist): our release tags are in lower case (cvs-diff): ditto (EXTRA_DIST): added README-alpha (DIST_SUBDIRS): added depdemo * README-alpha: minor adaptations * demo/Makefile.am, mdemo/Makefile.am, depdemo/Makefile.am: removed comment about special needs for distribution * depdemo/Makefile.am: don't generate dependencies * depdemo/configure.in: modified version number
* ltmain.in (-force-static, force_static): removed * libltdl/Makefile.am (CFLAGS): ditto * libltdl/configure.in: check for memory.h, rindex() and dlpreopening. Fixed NEED_USCORE caching policy. * libltdl/ltdl.h (lt_dlsym): make the name argument const * libltdl/ltdl.c (types): new variable: head of list of available dlopening mechanisms (lt_dltype_t): interface of a dlopening mechanism, with pointers to functions for init, exit, open, close and sym (lt_dlhandle_t): added pointer to interface type (strdup): don't name it strdup; it can be troublesome (strrchr): ditto; use rindex if available (LIBTOOL_STATIC): check HAVE_DLPREOPEN instead, and move to the end of the file, so that it becomes the header of the list (all): renamed all interface-implementation functions, to avoid name clashes, and created lt_dltype_t nodes for all of them (lt_dlinit): initialize all available interfaces; remove those that fail from the list. Return failure only if no interfaces could be initialized. (lt_dlexit): return number of failures (tryall_dlopen): try to open the library with all available interfaces (lt_dlopen): use tryall_dlopen; increased size of fixed buffers. We should probably make these bound-checked or dynamically allocated for the final release! Fix bug when filename did not contain slashes; should we check for `\\' too? Try old_library if everything else fails. (lt_dlclose): use the interface type for closing (lt_dlsym): make `symbol' const, use interface type for looking up * mdemo/Makefile.am: moved mdemo/modules/* back into mdemo (SUBDIRS): removed (libfoo2_la_LDFLAGS): added -static; nice test. However, since it causes -lm to linked into hell*, it causes tests that should fail to pass (noinst_HEADERS): no need to install foo.h * mdemo/configure.in: remove modules/Makefile tests/mdemo-exec.test: updated accordingly
* NEWS: Added Thomas Tanner and Gary V. Vaughan to the list of new maintainers. Detailed expected failures of libtldl+mdemo. Listed recent ports. Added full URL for the home page. Note that libtool C program is unusable.
* doc/libtool.texi (Tested platforms): broken `sed' programs
* THANKS: added Stephan Kulow; removed Gary V. Vaughan and Thomas Tanner, now that they're AUTHORS
* ltmain.in (freebsd-aout, freebsd-elf): added missing dot to versuffix
* libltdl/Makefile.am (EXTRA_DIST): removed, nothing needed (libtool): automatically update
* libltdl/configure.in (stdlib.h, unistd.h, stdio.h): check * libltdl/ltdl.c: include them
* demo/configure.in (BINARY_HELLDL): test whether dlopen is supported at configure time * demo/Makefile.am (helldl): use automake conditionals to build helldl as a script or as a binary program
* tests/Makefile.am (EXTRA_DIST): remove ltdl-*.test (clean-local): don't clean libltdl any more * tests/ltdl-conf.test: removed * tests/ltdl-inst.test: ditto * tests/ltdl-make.test: ditto * tests/ltdl-unst.test: ditto * tests/mdemo-make.test: updated accordingly * tests/mdemo-inst.test: ditto * tests/mdemo-unst.test: ditto * doc/libtool.texi: ditto
* ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined only for -force-static; it should be removed soon, before people start to use it
* configure.in (AC_CONFIG_SUBDIRS): added libltdl * Makefile.am (SUBDIRS): build libltdl by default (DIST_SUBDIRS): simplify distribution of demo and mdemo (libtool, clibtool, libtoolize, ltconfig, ltmain.sh): add srcdir where appropriate (ACINCLUDE_M4_LIST): new rule for maintaining links from acinclude.m4 to libtool.m4 (*demo/Makefile.in): don't update autoconf/automake files any more; make check is needed
fixed archive_cmds for cygwin32
*** empty log message ***
* PORTING: removed the text Akim Demaille converted to .texi * doc/libtool.texi: converted inter-library dependencies instructions from PORTING
* ltmain.in (convenience, deplibs): propagate dependencies * libltdl/Makefile.am (noinst_HEADERS): don't install ltdl.h yet (noinst_LTLIBRARIES): ditto for libltdl.la
new release procedure
*** empty log message ***
* configure.in: we no longer use PRCS
* doc/libtool.texi (author): listed all the AUTHORS (Dlopen issues): added reference to libltdl, still undocumented (C++ libraries): it's not *that* simple, after all :-( (Inter-library dependencies): they're back!
* libtool.m4 (ac_cv_sys_symbol_underscore): `test a == b' doesn't work, use `test a = b' instead
* Makefile.am (mdemo_distfiles): libfoo[12].sym no longer exist
* ltconfig.in (solaris): do not use $CC for linking if GNU ld is not available
* ltconfig.in: Port to SCO UnixWare 7.x.
*** empty log message ***
portability enhancements
*** empty log message ***
*** empty log message ***
updated homepage address
Update the dll generation shell code for cygwin32.
Test for leading underscore on compiled symbols at configure time. Use the results of that test in the demo program.
imported from autoconf CVS tree
require AC_CANONICAL_HOST for path canonicalization
Added LD path canonicalization.
Fixed archive_cmd for cygwin32, mingw32, aix3 and aix4.
* libtool.spec (URL): point to www.gnu.org (Source): point to ftp.gnu.org * Makefile.am (EXTRA_DIST): removed libtool.prj Reported by Akim Demaille <demaille@inf.enst.fr>
* ltconfig.in (echo): avoid shell error messages when we're testing for large command line support Reported by Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
* doc/PLATFORMS: updated last-tested release for platforms I've got access to * THANKS: added Chris P. Ross * ltconfig.in: added recognition of the dynamic linker on BSD/OS 4.x * README: added BSD/OS 4.x to the list of supported platforms * doc/PLATFORMS: added BSD/OS 4.x support for various host id's
* ltmain.in (pass_all): actively pass the flags
*** empty log message ***
*** empty log message ***
* libltdl/ltdl.c: replace NULL with 0, so that we don't depend on header files defining it.
* ltconfig.in (archive_cmds, osf3, osf4, solaris, sunos4): create libraries with gcc -shared if using gcc without GNU ld. * ltconfig.in: replaced occurrences of solaris2 with solaris, to prepare for Solaris 7
* mdemo/Makefile.am (hell_debug_LDFLAGS): -dlpreopen -> -dlopen (hell_LDFLAGS): added -export-dynamic and -dlopen (SUBDIRS, INCLUDES): added modules directory (foo1.c, foo2.c, foo.h, libfoo1.sym, libfoo2.sym): moved to modules * Makefile.am: ditto * tests/mdemo-exec.test, tests/mdemo-inst.test: libraries moved * mdemo/modules/Makefile.am: new file * */Makefile.am (AUTOMAKE_OPTIONS): added no-dependencies
* ltmain.in: missing `test' between `&&' and `"$module"'
* ltconfig.in (echo_test_string): the whole ltconfig script was too much for DU4.0's ksh, but the first 50 lines will be enough.
* ltmain.in (installed): new variable defined within a .la file, so that libtool can now link already-installed libraries into a program. * NEWS: ditto * doc/libtool.texi (Linking executables): document it
* ltmain.in (output_objdir): compute it from $output, not $arg
* NEWS: -module and libtldl * mdemo/Makefile.am: ../libltdl is within $(srcdir) * libltdl, Makefile.am: added libltdl (a system independent dlopen wrapper library extracted from mdemo) * ltmain.in: added -module flag for compiling and linking of modules. If enabled it compiles always both .o (with -DLT_RENAME) and .lo files * mdemo: modified mdemo to work with libltdl * tests/ltdl*: added tests for libltdl
* ltconfig.in: when $host_os is freebsd[23]* determine whether the current linker format is a.out or ELF * ltmain.in: add two new $version_type's, freebsd-aout and freebsd-elf, to support above change
* ltconfig.in: extent no_builtin_flag to contain -fno-rtti and -fno-exceptions in case we compile with a gcc, that supports this options (egcs and gcc >= 2.8)
* ltmain.in (C_compiler): copy $CC before it is overwritten with command-line compiler, so that we can use it to compile C sources generated during the build. This fixes the problem that showed up with -export-dynamic of C++ programs in egcs 1.1. * NEWS: ditto
* PORTING: Porting instructions are in the libtool manual already
* NEWS: Mention -export-symbols and new dlpreopen
* ltmain.in (IFS): revert Gary's patch when parsing version information; we still use `:' here :-)
* NEWS: updated * PORTING: new file, with general instructions and inter-library dependencies tips
* ltconfig.in: make use of '~' field separator in reload_cmds,
old_archive_from_new_cmds, old_archive_cmds, archive_cmds,
old_postinstall_cmds, postinstall_cmds, old_postuninstall_cmds,
postuninstall_cmds and finish_cmds, so that the semi-colons inside
if/then/else/fi and for/do/done etc. do not break the eval loop in
ltmain.in (below).
* ltmain.in: changed all of the eval loops to use an IFS of `~',
to allow differentiation between the end-of-statement-;
(now `~' is used) and end-of-substatement-; (still `;'). This
fixes AIX and win32 at least.
* ltconfig.in (sunos*, sympat, symxfrm): remove underscore prepended by the compiler
Marc J. Fraioli did not add support for uts4; it was already there!
* ltconfig.in: re-enable deplibs * ltmain.in: support deplibs, at least for GNU/Linux/x86
Soften the relink warning. CVS: CVS:
* ltconfig.in (aix3, aix4): uniquify symbol names in archive_cmds
* ltconfig.in: add --falback-echo, to be used if everything else fails. The tests now check the behavior of $echo for very large strings, because some echo commands would just core dump (e.g., Solaris' printf). If too large strings fail, smaller ones are tested. (ltecho): arrange that, if the --fallback-echo method is selected, echo will be defined in the libtool script so as to re-run itself, not ltconfig * ltmain.in: add --fallback-echo (qecho) ensure that, if --falback-echo is being used, qecho is defined with the full pathname of the libtool script
* mdemo/main.c: removed hardcoded library names; link against -lm * tests/mdemo-exec, tests/mdemo-inst: pass the library names to the program
* README: Added DG/UX * doc/PLATFORMS: ditto
* ltconfig.in (irix6): it's a little bit different from irix5
* THANKS: Added Thomas Tanner and Gary V. Vaughan
1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br> * ltconfig.in, ltmain.in: updated and fixed the patches below 1998-11-04 Thomas Tanner <tanner@gmx.de> * mdemo/*: added new demo to demonstrate building of dlopenend modules * tests/Makefile.am, tests/mdemo*: added some tests for mdemo 1998-11-04 Gary V. Vaughan <gvaughan@oranda.demon.co.uk> * demo/configure.in: added AC_EXEEXT macro so that the tests can work on cywin32/mingw32 hosts. This requires the current CVS autoconf 1998-11-04 Thomas Tanner <tanner@gmx.de> * ltmain.in: New flag -export-symbols; new dlpreopen system * demo/dlmain.c: removed dld_preloaded_symbol_count 1998-11-04 Ian Lance Taylor <ian@cygnus.com> * ltmain.in: On installation, don't get confused if the same name appears more than once in the list of library names. 1998-11-04 Ian Lance Taylor <ian@cygnus.com> * ltconfig.in: Add objext and libext variables. Check for object suffix. Check for mingw32* as well as cygwin32*. Use objext when testing compiler. Add support for Visual C++ on cygwin32 when not using gcc. Add objext, libext, and fix_srcfile_path to generated libtool script. * ltmain.in: Use .${objext} rather than .o. Use fix_srcfile_path if it is set. Check for .obj as well as for .o, and for .lib as well as for .a. Use .${libext} rather than .a when creating old libraries. * libtoolize.in: Change initial /bin/sh to @SHELL@. * libtool.m4 (AM_PROG_LIBTOOL): Add AC_REQUIRE for AC_CANONICAL_BUILD, so that autoconf doesn't get mixed up by the AC_REQUIRE in AC_CHECK_TOOL. 1998-11-04 Ian Lance Taylor <ian@cygnus.com> * ltconfig.in: Look in the right directory for libtool.c in archive_cmds for cygwin32. 1998-11-04 Ian Lance Taylor <ian@cygnus.com> * ltconfig.in: Fix cygwin32 support to avoid using a double extension, to delete the def file, to set version_type to windows, and to include versuffix in the DLL name. * ltmain.in: Add support for a version_type of windows. 1998-11-04 Ian Lance Taylor <ian@cygnus.com> * ltconfig.in: Add cygwin32 support. * libtool.m4 (AM_PROG_LIBTOOL): Call AM_SYS_LIBTOOL_CYGWIN32 on a cygwin32 host. Pass DLLTOOL and AS to ltconfig. (AM_SYS_LIBTOOL_CYGWIN32): New macro.
* libtool.m4 (sco): fix typo
* ltconfig.in: On AIX, don't treat GNU ld specially.
* ltconfig.in (hardcode_minus_L): Revert Ian's patch for ltconfig.in. Although -L hardcoding is not used with GNU ld, it does happen, so hardcode_minus_L must be set to yes.
* ltconfig.in (compiler_o_lo): check whether we can write directly to a .lo * ltmain.in (compiler_o_lo): if not, write to .o and rename it
* ltconfig.in: For sunos4 using GNU ld, set hardcode_minus_L to no. * ltmain.in: Add some hacks to make SunOS --enable-shared work when using GNU ld.
* THANKS: Added Marc J. Fraioli
* ltconfig.in (uts4, dgux): new supported platforms
* ltconfig.in (need_locks): if neither `-c -o' nor hard links are available, fallback to not so safe mechanism, by setting need_locks to warn * ltmain.in (need_locks): when need_locks is set to warn, use the lockfile to try to fail in case of incorrect concurrent builds
* THANKS: Added Eric Estievenart
* doc/libtool.texi (Compile mode): Document that -o is fully supported. * libtool.m4 (libtool-lock): new ARG_ENABLE; sets (need_locks) * ltconfig.in (disable-lock): control need_locks (hard_links): check whether hard-links can be used for locking * ltmain.in (need_locks): use $output_obj.lock for locking
* ltmain.in: correctly create libraries and programs with directory components in their names
* ltmain.in (output_obj): typo
* ltconfig.in: For sunos4, add ${libname}.so$versuffix to
library_names_spec.
* ltmain.in: For version_type of sunos, set versuffix even if
-version-info was not used.
* ltmain.in (libobj): default value must not contain directory components * ltconfig.in (compiler): detect if the compiler supports -c and -o flags, create a variable compiler_c_o. Also issue a big warning if it is not supported * ltmain.in (compile): enable the -o option as input for libtool. The objects are not moved if the compiler supports -o with -c. Sources and objects can contain relative directories. (link): enable the linking of executables into relative directories
* AUTHORS: added myself as a co-maintainer * THANKS: and removed my name from here
* autogen: new script; run it to bootstrap libtool after checking it out from CVS
* libtool.m4 (CFLAGS): check whether -belf is needed on SCO, as suggested by Robert Lipe <robertl@dgii.com>
* demo/Makefile.am (hc-libpath): Use parameters from the libtool in the top build directory, since the one in the demo directory is not guaranteed to exist.
* demo/Makefile.am (objdir): there are no longer quotes around objdir in the libtool script
Minor cosmetic fixe and CVS administrivia. CVS: CVS:
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.5 |