[Top][All Lists]

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

Re: usage of ac_check_header

From: Ralf Wildenhues
Subject: Re: usage of ac_check_header
Date: Tue, 24 Jul 2007 00:25:33 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Joao,

a small side point regarding M4 quotation: instead of

* Joao Miguel Ferreira wrote on Mon, Jul 23, 2007 at 10:18:08PM CEST:
> AC_CHECK_HEADER(xpath.h,,AC_MSG_ERROR([cannot find headers for libxml2]))

it's better to write this:

AC_CHECK_HEADER(xpath.h,,[AC_MSG_ERROR([cannot find headers for libxml2])])

(quoting the first argument of AC_CHECK_HEADER would be prudent, too).

It was very painful before the last Autoconf release to fix AC_MSG_ERROR
to not rely on this (it cannot because there is loads of old macro code
that has this underquotation, but that doesn't mean we shouldn't advise
against it for new code).


reply via email to

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