[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] lib/malloca.c, lib/md5.c, lib/sha1.c: don't include <config.
Re: [PATCH] lib/malloca.c, lib/md5.c, lib/sha1.c: don't include <config.h> unless HAVE_CONFIG_H is defined
Mon, 1 Mar 2010 23:17:08 +0100
Peter Simons wrote:
> I completely agree that Gnulib shouldn't try to support
> non-config.h builds in general. It's not worth the effort, really. Yet,
> at the same time it would feel like prudent software engineering if
> Gnulib would avoid creating unnecessary obstacles for those projects
> that work fine without config.h.
gnulib-tool offers you a way to adapt the Gnulib source to your wishes:
If you store a file lib/md5.c.diff in a subdirectory 'gnulib-local' of
your package and pass the option --local-dir=gnulib-local to the gnulib-tool
invocation, gnulib-tool will apply this diff when pulling lib/md5.c from
the Gnulib repository.
lib/md5.c.diff can look like this:
@@ -20,7 +20,9 @@
/* Written by Ulrich Drepper <address@hidden>, 1995. */
- Re: [PATCH] lib/malloca.c, lib/md5.c, lib/sha1.c: don't include <config.h> unless HAVE_CONFIG_H is defined,
Bruno Haible <=