emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#23034: closed (AC_CHECK_HEADERS after GUILE_FLAGS


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#23034: closed (AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP)
Date: Tue, 28 Feb 2017 15:04:01 +0000

Your message dated Tue, 28 Feb 2017 16:03:28 +0100
with message-id <address@hidden>
and subject line Re: bug#23034: AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP
has caused the debbugs.gnu.org bug report #23034,
regarding AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
23034: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23034
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP Date: Thu, 17 Mar 2016 03:47:04 +0200
I have a reduced test case where adding GUILE_FLAGS in shell dead code
before a call to AC_CHECK_HEADERS causes configure to lose $CPP, which
results in warnings like this one:

checking stdarg.h usability... yes
checking stdarg.h presence... no
configure: WARNING: stdarg.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: stdarg.h: proceeding with the compiler's result
checking for stdarg.h... yes

Versions:

/usr/share/aclocal/guile.m4: guile-2.0-dev from Debian jessie (2.0.11+1-9)
autoconf: 2.69

Attached:

configure.ac
guile.m4

To reproduce:

Find a config.rpath somewhere (perhaps steal it from gettext).
autoreconf -fi
./configure

I noticed that a random recent git HEAD of autoconf avoids this
problem; it turns out that in commit
11f520c61d8b21f1522968d6e6afb899070f0a6f autoconf transitions to
compilation-only header checks.

Attachment: configure.ac
Description: Binary data

Attachment: guile.m4
Description: application/m4


--- End Message ---
--- Begin Message --- Subject: Re: bug#23034: AC_CHECK_HEADERS after GUILE_FLAGS loses $CPP Date: Tue, 28 Feb 2017 16:03:28 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
On Thu 17 Mar 2016 02:47, Bernd Jendrissek <address@hidden> writes:

> I have a reduced test case where adding GUILE_FLAGS in shell dead code
> before a call to AC_CHECK_HEADERS causes configure to lose $CPP, which
> results in warnings like this one:
>
> checking stdarg.h usability... yes
> checking stdarg.h presence... no
> configure: WARNING: stdarg.h: accepted by the compiler, rejected by
> the preprocessor!
> configure: WARNING: stdarg.h: proceeding with the compiler's result
> checking for stdarg.h... yes
>
> Versions:
>
> /usr/share/aclocal/guile.m4: guile-2.0-dev from Debian jessie (2.0.11+1-9)
> autoconf: 2.69
>
> Attached:
>
> configure.ac
> guile.m4
>
> To reproduce:
>
> Find a config.rpath somewhere (perhaps steal it from gettext).
> autoreconf -fi
> ./configure
>
> I noticed that a random recent git HEAD of autoconf avoids this
> problem; it turns out that in commit
> 11f520c61d8b21f1522968d6e6afb899070f0a6f autoconf transitions to
> compilation-only header checks.

AFAIU then this is an autoconf bug?  Weird.  Weird also that autoconf is
just not releasing these days!  I guess we close this from the Guile
point of view though, no?

Regarding autoconf releases:

  http://lists.gnu.org/archive/html/autoconf/2016-12/msg00005.html

So, I will optimistically close this and this problem will go away once
autoconf 2.70 is out.

Andy


--- End Message ---

reply via email to

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