[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No declaration for isblank
From: |
Neil Jerram |
Subject: |
Re: No declaration for isblank |
Date: |
Tue, 23 Oct 2007 15:06:50 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> My `gl_EARLY' does require `AC_GNU_SOURCE'. I'm using:
>
> $ gnulib-tool --version
> /usr/bin/gnulib-tool (GNU gnulib) 2007-07-01
>
> This is from Debian unstable.
>
> (I couldn't find in Gnulib's Git log whether `AC_GNU_SOURCE' appeared in
> between both versions.)
Upgrading gnulib to unstable didn't help.
The problem was lines like the following in /usr/bin/gnulib-tool.
if grep AC_GNU_SOURCE "$destdir"/$m4base/*.m4 >/dev/null 2>/dev/null; then
echo " AC_REQUIRE([AC_GNU_SOURCE])"
So, if you create a file m4/workaround.m4, containing just
"AC_GNU_SOURCE", and then rerun autogen.sh, you get a definition of
gl_EARLY that includes AC_GNU_SOURCE, and the _GNU_SOURCE stuff in
config.h.in.
That seems excessively magic to me, but I suppose we could ensure
correct future behaviour by checking in such a file to CVS. What do
you think?
Regards,
Neil