libtool-patches
[Top][All Lists]
Advanced

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

Re: libtool 1.4.3 vs. UnixWare/OpenUNIX


From: Christian Cornelssen
Subject: Re: libtool 1.4.3 vs. UnixWare/OpenUNIX
Date: Tue, 25 Mar 2003 22:11:49 +0100 (CET)

Hi,

On Tue, 25 Mar 2003, Bob Friesenhahn wrote:

> configure.ac:31: required file `./config-h.in' not found
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^
>
> I have the following patch applied to my own copy
> [...]

IIRC, the toplevel `configure.ac' patch (declaration of `config.h')
has been reverted and moved to the libltdl subdirectory, which is why
the bootstrap patch has been updated accordingly.

Instead of the case structure enclosing the autoheader call, I'd now
suggest an "if grep" approach that adapts automatically:

Index: ChangeLog
from  Christian Cornelssen  <address@hidden>

        * bootstrap: Automatically use $AUTOHEADER where necessary.
        Remake config-h.in from scratch to get a new timestamp
        (otherwise "make" will invoke autoheader again).

Index: bootstrap
===================================================================
RCS file: /cvsroot/libtool/libtool/bootstrap,v
retrieving revision 1.24
diff -u -r1.24 bootstrap
--- bootstrap   25 Feb 2003 00:30:28 -0000      1.24
+++ bootstrap   25 Mar 2003 21:06:08 -0000
@@ -41,7 +42,10 @@
   done

   $ACLOCAL
-  test $sub = libltdl && $AUTOHEADER
+  if grep 'A[MC]_CONFIG_HEADER' configure.ac >/dev/null 2>&1; then
+    rm -f config-h.in
+    $AUTOHEADER
+  fi
   eval $AUTOMAKE $AUTOMAKE_FLAGS
   $AUTOCONF
   cd $top_srcdir

Regards,

Christian Cornelssen





reply via email to

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