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: Sam Steingold
Subject: Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE
Date: Wed, 24 Aug 2005 22:30:44 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

> * Stepan Kasal <address@hidden> [2005-08-24 07:46:51 +0200]:
>
> On Tue, Aug 23, 2005 at 04:41:22PM -0400, Sam Steingold wrote:
>> GNU CLISP comes with regex.c and it places it in the "current"
>> directory.
>> clisp/modules/regexp/configure.in
>> has
>> gl_INCLUDED_REGEX([regex.c])
>> and files files
>> clisp/modules/regexp/regex.h
>> clisp/modules/regexp/regex.c
>> &c.
>
> and I suppose that if you do
> cd clisp/modules/regex; aclocal; autoconf

yes, except that I do not run aclocal there.

> It might be best to start from scratch, with fresh gnulib CVS
> checkout.

gnulib CVS head does not contain gl_INCLUDED_REGEX.

> When you encounter a problem, please submit another self-contained bug
> report, so we can start from scratch, too.  And please attach the
> script which you use to create the artificial configure.in, so that we
> can try to reproduce the bug. Sorry, but I believe this is the best
> possible way now.  (It is possible that you get the same symptoms,
> though the reasons are different.)

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

this will create configure.ac in the current directory and remove at
afterwards.
you might want to try the appended patch to keep configure.ac and also
th produce a log from "--verbose"

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.openvotingconsortium.org/> <http://www.savegushkatif.org>
<http://ffii.org/> <http://pmw.org.il/> <http://www.palestinefacts.org/>
As a computer, I find your faith in technology amusing.


--- Makefile.devel      04 Aug 2005 17:47:54 -0400      1.136
+++ Makefile.devel      07 Aug 2005 13:24:59 -0400      
@@ -139,8 +139,8 @@
        egrep '(AC_INIT|AC_PREREQ)' src/configure.in > configure.ac
        cat $(addsuffix .in,$(CLISP_CONFIGURES)) | egrep -v 
'(AC_INIT|AC_CONFIG_HEADER|AC_OUTPUT|AC_CONFIG_FILE.*(Makefile|link\.sh)|_CANONICAL_|AC_PREREQ)'
 >> configure.ac
        echo AC_OUTPUT >> configure.ac
-       aclocal -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4
-       $(RM) configure.ac
+       aclocal --verbose -I `pwd`/src/m4 --output=src/autoconf/aclocal.m4 2> 
log
+#      $(RM) configure.ac
 
 AUTOCONF_FILES = src/autoconf/aclocal.m4
 AUTOCONF = autoconf





reply via email to

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