bug-gnulib
[Top][All Lists]
Advanced

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

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE


From: Stepan Kasal
Subject: Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE
Date: Thu, 25 Aug 2005 11:06:00 +0200
User-agent: Mutt/1.4.1i

Hello,

On Wed, Aug 24, 2005 at 10:30:44PM -0400, Sam Steingold wrote:
> gnulib CVS head does not contain gl_INCLUDED_REGEX.

Indeed:

revision 1.42
date: 2005/08/23 18:48:31;  author: eggert;  state: Exp;  lines: +95 -109
* regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
All contents moved to gl_REGEX.
(gl_REGEX): Don't bother checking whether lib/regex.c exists;
assume that it does.

The first change means you have to call gl_REGEX instead.

The second change fixes your problem (see subj. line).

> the easiest way to reproduce the problem is
> $ cvs -d:pserver:address@hidden:/cvsroot/clisp login
> $ cvs -z3 -d:pserver:address@hidden:/cvsroot/clisp co -P clisp
> $ cd clisp
> $ make -f Makefile.devel check-configures

Thanks for this hint.  It sounds trivial for you, but it helped me a lot.

Indeed, when I   cp ../gnulib/m4/regex.m4 src/m4/
and apply the patch attached below, then

        make -f Makefile.devel check-configures

There was one remaining problem: AC_GNU_SOURCE has to be called early in
configure.ac.  For projects which use gnulib-tool, macro gl_EARLY takes
care of this; but you have to take care of it yourself.

Have a nice day,
        Stepan Kasal




reply via email to

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