Commit Graph

1128 Commits

Author SHA1 Message Date
Alexandre Oliva
bf145d1820 * ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use
-Wl for allextract.
1999-05-17 02:33:57 +00:00
Alexandre Oliva
5da077c29b * 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.
1999-05-14 06:50:32 +00:00
Gary V. Vaughan
645b15935d * TODO: updated. 1999-05-10 11:26:12 +00:00
Gary V. Vaughan
8781ebc814 * 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>
1999-05-06 14:42:18 +00:00
Alexandre Oliva
83e3635b54 Security alert\! 1999-05-06 07:34:07 +00:00
Alexandre Oliva
ab6818a9cd * libtool.m4: Use ifelse instead of if.
Reported by David Mazieres <dm@amsterdam.lcs.mit.edu>
1999-04-30 20:21:15 +00:00
Alexandre Oliva
b13fac8cdf * NEWS: Summarize news from 1.2 to 1.3. 1999-04-29 12:53:08 +00:00
Alexandre Oliva
6aa96d9d4e * ltmain.in: Save exit status of link_command before removing
symbol table object file.
1999-04-29 12:01:59 +00:00
Gary V. Vaughan
ac019c8a4e * doc/PLATFORMS: updated my hpux-10.20 and cygwin box entries. 1999-04-29 11:39:03 +00:00
Alexandre Oliva
6bcccd0073 * NEWS: Improved support for DU and IRIX too. 1999-04-29 10:56:20 +00:00
Alexandre Oliva
2ff2bca865 removed automake-specific policies 1999-04-29 10:48:39 +00:00
Alexandre Oliva
a045f425c3 * config.sub, config.guess: Updated from GNU common. 1999-04-29 10:43:48 +00:00
Alexandre Oliva
4dd52118cf * mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before
AM_PROG_LIBTOOL, as suggested by autoconf.
1999-04-29 10:17:15 +00:00
Alexandre Oliva
261e22b193 * 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.
1999-04-29 09:58:41 +00:00
Alexandre Oliva
1e3e735f34 * doc/libtool.texi: Clear up overfull hbox. 1999-04-29 08:51:12 +00:00
Alexandre Oliva
8381c732a2 * 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.
1999-04-29 08:09:19 +00:00
Alexandre Oliva
7f9b14e853 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.
1999-04-29 08:03:41 +00:00
Ossama Othman
2354bb3a0d * ltconfig.in (dlopen): Declare it as extern "C" in C++. 1999-04-29 07:53:53 +00:00
Gary V. Vaughan
3698de8afd * 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.
1999-04-29 07:36:57 +00:00
Alexandre Oliva
7d898359ef * ltmain.in (nlist, SYMFILE): Use outputname instead of output for
names within output_objdir.
1999-04-29 07:13:25 +00:00
Alexandre Oliva
a78f262b2c * libtool.m4 (libtool_flags): Fix calls to AC_BEFORE.
Reported by Gary V. Vaughan
1999-04-28 17:31:54 +00:00
Gary V. Vaughan
68a7dcd93f * 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.
1999-04-28 15:26:14 +00:00
Alexandre Oliva
c3ec2bd441 * 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.
1999-04-27 20:14:32 +00:00
Thomas Tanner
9d87d7b208 * 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)
1999-04-27 17:30:20 +00:00
Alexandre Oliva
5c4b25e8bd * 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.
1999-04-27 10:34:46 +00:00
Alexandre Oliva
02d6bd0eea * 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.
1999-04-27 09:42:17 +00:00
Erez Zadok
b7b94832c8 * ltmain.in (old_archive_cmds): Ensure that there are always .o
objects available before running old_archive_cmds.
1999-04-27 08:05:28 +00:00
Erez Zadok
4f23183468 * doc/PLATFORMS: Updates for netbsd 1.3.3 and 1.4. 1999-04-27 01:01:37 +00:00
Alexandre Oliva
d3734e0273 * ltconfig.in (aix4.[01], always_export_symbols): The case pattern
would never match; fixed.
Reported by Stephan Kulow <coolo@itm.mu-luebeck.de>
1999-04-26 23:34:46 +00:00
Alexandre Oliva
18678cddb5 * 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.
1999-04-25 19:05:55 +00:00
Frank Ch. Eigler
36e0c3cf90 * 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.
1999-04-25 18:54:24 +00:00
Alexandre Oliva
caae05bd39 * ltconfig.in (irix*, soname_spec, library_names_spec): Missing
dots before $versuffix and $major.
1999-04-25 17:05:18 +00:00
Alexandre Oliva
b607707d5d patch misapplied Solaris whole_archive_flag_spec diff 1999-04-25 11:21:59 +00:00
Alexandre Oliva
ac6bf76b30 * ltconfig.in: Correct sed expression that extracts symbols
from cygwin def files.  Ignore demangled C++ names, if any.
1999-04-25 10:38:46 +00:00
Alexandre Oliva
b5efe17eca * ltconfig.in (solaris*, whole_archive_flag_spec): Use -z
allextract/defaultextract from Solaris 2.6 on.
Reported by Brian Ford <ford@vss.fsi.com>
1999-04-25 10:34:51 +00:00
Alexandre Oliva
66ce64ca69 * ltconfig.in (beos*, allow_undefined_flag): Do not build shared
libraries with undefined symbols.
1999-04-25 10:32:07 +00:00
Alexandre Oliva
e330989537 * 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>
1999-04-25 10:29:17 +00:00
Alexandre Oliva
9d444a66b1 * 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.
1999-04-25 10:22:09 +00:00
Alexandre Oliva
92b238c48e * ltconfig.in (irix*, osf*, archive_cmds): Write so_locations
within objdir.
1999-04-25 10:15:34 +00:00
Alexandre Oliva
76e02f69fe * ltconfig.in (irix*, soname_spec): Append $major.
(irix*, library_names_spec): Add new soname.
Reported by David Kaelbling <drk@sgi.com>
1999-04-25 10:10:34 +00:00
Alexandre Oliva
1ff083da25 * 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.
1999-04-25 10:07:51 +00:00
Alexandre Oliva
ea746ffc14 * ltconfig.in (irix5*, need_lib_prefix, need_version): Set to no,
by unifying with irix6*.
1999-04-25 10:04:25 +00:00
Alexandre Oliva
fd2ecbb17b * ltconfig.in (irix*, osf*, deplibs_check_method): Use pass_all. 1999-04-25 09:53:35 +00:00
Alexandre Oliva
847e6e7b5b * ltconfig.in (old_LDFLAGS, old_LIBS): Save and write to comments
in output file.
1999-04-25 09:44:41 +00:00
Alexandre Oliva
c4221fc830 * 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.
1999-04-25 09:40:49 +00:00
Boyd Lynn Gerber
39328123fa * ltconfig.in (sco3.2v5*): Use LD_RUN_PATH for hard-coding. 1999-04-25 09:25:47 +00:00
Pavel Roskin
7a1fa534af tabify 1999-04-25 09:08:09 +00:00
Pavel Roskin
3e995631de * Makefile.am (uninstall-local): Remove installed libltdl tree. 1999-04-25 09:07:02 +00:00
Alexandre Oliva
bae6856cd0 * demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl):
Added CFLAGS to link commands; SCO OSR needs it for -belf.
1999-04-25 08:35:32 +00:00
Alexandre Oliva
c665b28750 * TODO: -Wl and -Wc options. 1999-04-25 08:32:28 +00:00