libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HEAD: workaround for released autotools


From: Gary V. Vaughan
Subject: Re: HEAD: workaround for released autotools
Date: Mon, 29 Aug 2005 14:39:04 +0100

Hallo Ralf,

On 29 Aug 2005, at 13:53, Ralf Wildenhues wrote:
* Gary V. Vaughan wrote on Mon, Aug 29, 2005 at 02:26:16PM CEST:
On 29 Aug 2005, at 12:53, Ralf Wildenhues wrote:
But you can't expect plain "configure" without options to work.
And I test on real-world systems where this is true.

ACK.  We run plain configure in our test/*demo tests, and some of our
new autotest btw...

No, we don't.  We use TESTS_ENVIRONMENT to export all the important
variables.  And the old test suite was specifically designed to
stresstest some of the configure switches that could not be passed in
environment variables, like --enable-shared --disable-static.

Indeed, I missed that.  Thanks.

If you really hate this patch, then we can apply yours instead. I'd still like some method of being able to make the 2.0 release without
the  duplicate files if we have the necessary autotool patches in
place at bootstrap  time though.  Maybe an environment variable?

That would be fine with me. Or a commandline switch for `bootstrap',
FWIW.

K. Can you add that (either/or) and commit your original patch please?

OK like this?

Cheers,
Ralf

2005-08-29  Gary V. Vaughan <address@hidden>,
            Ralf Wildenhues <address@hidden>

        Allow for portability with Autoconf 2.59, Automake 1.9.6,
        which lack AC_CONFIG_LIBOBJ_DIR support.

* bootstrap: Unless environment variable WORKING_LIBOBJS_SUPPORT

You forgot to implement this part.

        is set to true aka `:', symlink ..
        * argz.c lt__dirent.c lt__strl.c: .. these from the copies in
        libltdl.
        * configure.ac (SUBDIR_LIBOBJS): Automake conditional, set if
        bootstrap didn't make the extra copies of libobj sources in
        top srcdir...
* Makefile.am: Add these to EXTRA_DIST if SUBDIR_OBJS is not set,
        as well as the originals in libltdl/, in order to work when
        bootstrapped both with old and newer Automake/Autoconf.

Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.157
diff -u -r1.157 Makefile.am
--- Makefile.am    23 Aug 2005 01:49:36 -0000    1.157
+++ Makefile.am    29 Aug 2005 12:41:33 -0000
@@ -335,6 +336,15 @@

 # %%% END libltdl/Makefile.am

+if ! SUBDIR_LIBOBJS
+## workaround for Autoconf 2.59, Automake 1.9.6:
+## we include these files twice, because of missing LIBOBJDIR support.
+EXTRA_DIST += \
+    argz.c libltdl/argz.c \
+    lt__dirent.c libltdl/lt__dirent.c \
+    lt__strl.c libltdl/lt__strl.c
+endif
+

 ## -------------- ##
 ## Documentation. ##
Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.65
diff -u -r1.65 bootstrap
--- bootstrap    23 Aug 2005 11:14:55 -0000    1.65
+++ bootstrap    29 Aug 2005 12:41:33 -0000
@@ -67,6 +67,14 @@
 # Delete stale files from previous libtool versions.
 rm -f acinclude.m4 libltdl/config.h

+# Workaround for missing LIBOBJDIR support in Autoconf 2.59, Automake 1.9.6:
+# Have symlinks of the libobj files in top source dir:
+true && sublibobjs_supported=yes

  ^^^^^ ???

Cheers,
    Gary.
--
Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},address@hidden
Research Scientist   ( '/   http://www.tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/{libtool,m4}
Technical Author   `(_~)_   http://sources.redhat.com/autobook



Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]