[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CHECK_HEADERS w/o arguments
From: |
Akim Demaille |
Subject: |
Re: AC_CHECK_HEADERS w/o arguments |
Date: |
Fri, 22 Aug 2003 12:34:23 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
> Hi,
> autoconf-2.57 silently accepts using AC_CHECK_HEADERS without arguments
> (Yes, I know this is agains autoconf's documentation), eg. accepts
> configure.ac's containing something like this
> AC_CHECK_HEADERS
> AC_PROG_CC
> Neither autoconf, m4 nor any tool else complains about this usage of
> AC_CHECK_HEADERS.
> This results into configure-scripts containing
> ..
> for ac_headers in
> do
> ..
> Some shells accept this kind of for-loops, bug some don't (Including my
> RH-8.x bash-2.05b-16 didn't complain, while some RH-7.3's bash-2.05 are
> reported to abort), rendering this bug very hard to find.
I don't want to clutter Autoconf with such checks, because GNU M4 will
provide a means to provide prototypes for macros. Then, this will be
handled gracefully.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: AC_CHECK_HEADERS w/o arguments,
Akim Demaille <=