libtool-patches
[Top][All Lists]
Advanced

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

RE: [patch #4237] Fix libltdl use of AC_LIST_HEADERS for latest autoconf


From: Ralf Wildenhues
Subject: RE: [patch #4237] Fix libltdl use of AC_LIST_HEADERS for latest autoconf 2.59c
Date: Wed, 3 Aug 2005 23:05:54 +0200
User-agent: Mutt/1.5.9i

I was not looking hard enough.

* Ralf Wildenhues wrote on Tue, Aug 02, 2005 at 03:30:34PM CEST:
> * Peter Ekberg wrote on Mon, Aug 01, 2005 at 10:14:09AM CEST:
>
> > > | +2005-07-29  Richard Moseley  <address@hidden>
> > > | +
> > > | +       * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
> > > | +       AC_LIST_HEADERS which is _AC_LIST_TAGS.
> > > | +

> > This patch breaks it for me (error from cvs-head):
> > 
> > ../configure: line 11979: syntax error near unexpected token `;'
> > ../configure: line 11979: `CONFIG_H=`echo " config.h:config-h.in" | $SED
> > 's,^[ ]*,,;s,[ :].*$,,'` ;;'

While my other mail about the necessary export autoconf header is
correct (but not fixed yet), the libtool patch mentioned above also
has m4 syntax errors in it.  These will prevent Libtool HEAD from
bootstrapping also with older Automake. 

The patch below fixes that.  If I can't get a solution for Automake
HEAD quickly, I'll install this part separately.

Cheers,
Ralf

Index: m4/ltdl.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/ltdl.m4,v
retrieving revision 1.31
diff -u -r1.31 ltdl.m4
--- m4/ltdl.m4  29 Jul 2005 13:24:13 -0000      1.31
+++ m4/ltdl.m4  3 Aug 2005 21:01:28 -0000
@@ -164,10 +164,10 @@
 # the parent projects config.h file, The first file in AC_CONFIG_HEADERS
 # must contain the definitions required by ltdl.c.
 m4_ifset([_AC_LIST_TAGS],
-    [CONFIG_H=`echo "_AC_LIST_TAGS" | $GREP HEADERS | $SED 's,^[[      
]]*,,;s,[[ :)]].*$,,'`],
-  [m4_ifset([AC_LIST_HEADERS],
-    [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[    ]]*,,;s,[[ :]].*$,,'`],
-  [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])]])
+        [CONFIG_H=`echo "_AC_LIST_TAGS" | $GREP HEADERS | $SED 's,^[[  
]]*,,;s,[[ :)]].*$,,'`],
+        [m4_ifset([AC_LIST_HEADERS],
+                  [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[      
]]*,,;s,[[ :]].*$,,'`],
+                  [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])])
 AC_SUBST([CONFIG_H])
 
 AC_CHECK_HEADERS([memory.h unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h],




reply via email to

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