bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] libposix: Add _HEADERS primaries to posix modules.


From: Eric Blake
Subject: Re: [PATCH] libposix: Add _HEADERS primaries to posix modules.
Date: Sat, 05 Feb 2011 16:00:23 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/05/2011 03:39 PM, Eric Blake wrote:
> On 02/05/2011 09:15 AM, Bruce Korb wrote:
>> Hi Bruno, et al.  I have merged the patch:
>> http://lists.gnu.org/archive/html/bug-gnulib/2011-02/msg00044.html
>> into the sources, yielding the patch below.  Barring final testing
>> problems or complaints, I am hoping to push later today.
>> Thank you.  Regards, Bruce
> 
> This patch broke projects, yet it has no mention in NEWS how to fix
> things.  For example, upgrading m4.git to use the latest gnulib results in:
> 
> $ make check
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
> /home/remote/eblake/m4-branch/build-aux/missing --run aclocal-1.11 -I m4
>  cd . && /bin/sh /home/remote/eblake/m4-branch/build-aux/missing --run
> automake-1.11 --gnu
> lib/gnulib.mk:25: nodist_pkginclude_HEADERS must be set with `=' before
> using `+='
> lib/Makefile.am:29:   `lib/gnulib.mk' included from here
> lib/gnulib.mk:26: EXTRA_HEADERS must be set with `=' before using `+='
> lib/Makefile.am:29:   `lib/gnulib.mk' included from here
> lib/gnulib.mk:1883: nobase_nodist_pkginclude_HEADERS must be set with
> `=' before using `+='
> lib/Makefile.am:29:   `lib/gnulib.mk' included from here
> make: *** [Makefile.in] Error 1

M4 used gnulib-tool with the --makefile-name=gnulib.mk option (in order
to write a shell Makefile.am that allows adding various -W options to
CFLAGS during compilation of gnulib files).

This patch was sufficient to get me going again:


diff --git c/lib/Makefile.am w/lib/Makefile.am
index 064edaf..41f46bf 100644
--- c/lib/Makefile.am
+++ w/lib/Makefile.am
@@ -20,10 +20,13 @@
 BUILT_SOURCES =
 CLEANFILES =
 EXTRA_DIST =
+EXTRA_HEADERS =
 MOSTLYCLEANDIRS =
 MOSTLYCLEANFILES =
 SUFFIXES =

 noinst_LIBRARIES = libm4.a
+nobase_nodist_pkginclude_HEADERS =
+nodist_pkginclude_HEADERS =

 include gnulib.mk

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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