[EMAIL PROTECTED] (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



_______________________________________________
Bug-guile mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to