Re: [RTnet-developers] [PATCH] config: Fix BS_CHECK_KHEADERS for autoconf 2.68
Brought to you by:
bet-frogger,
kiszka
From: Anders B. <and...@co...> - 2011-10-25 14:44:07
|
On 10/25/2011 03:12 PM, Wolfgang Grandegger wrote: > On 09/28/2011 11:34 AM, Arnout Vandecappelle (Essensium/Mind) wrote: >> From: "Arnout Vandecappelle (Essensium/Mind)"<ar...@mi...> >> >> autoconf 2.68 doesn't produce a newline at the end of AS_IF(). >> Therefore, the 'done' of the for loop gets concatenated with the >> 'fi' of AS_IF(). >> >> Adding an explicit newline fixes it. >> >> Signed-off-by: Arnout Vandecappelle (Essensium/Mind)<ar...@mi...> > > With my autoconf and related tools (coming with ubuntu 11.04) I get a > strange "fidone" line in "configure" after re-generating it: > > $ autoconf --version > autoconf (GNU Autoconf) 2.67 > $ ./scripts/autogen.sh > $ grep fidone configure > fidone > > This patch fixes the problem, therefore... > > Acked-by: Wolfgang Grandegger<wg...@de...> > >> --- >> config/m4/bs.m4 | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/config/m4/bs.m4 b/config/m4/bs.m4 >> index 9f767e5..7d98ec4 100644 >> --- a/config/m4/bs.m4 >> +++ b/config/m4/bs.m4 >> @@ -113,6 +113,7 @@ BS_CHECK_KHEADER($ac_header, >> [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_header)) $2], >> [$3], >> [$4])dnl Dropping the dnl instead, perhaps? >> + >> done >> ])# BS_CHECK_KHEADERS Regards Anders Blomdell -- Anders Blomdell Email: and...@co... Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 Fax: +46 46 138118 SE-221 00 Lund, Sweden |