[Top][All Lists]

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

Re: AC_CHECK_DECL+autoheader ==> nothing in

From: Derek Robert Price
Subject: Re: AC_CHECK_DECL+autoheader ==> nothing in
Date: Mon, 28 Jul 2003 08:07:57 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Sam Steingold wrote:

I put AC_CHECK_DECL(signgam) in to check for the lgamma()
sign indicator.
I expected autoheader to place "#undef HAVE_DECL_SIGNGAM" in, but it does not do that.
Do I _have_ to use the full version, like
AC_DEFINE([HAVE_DECL_SIGNGAM],[1],[lgamma sign is in signgam]),
AC_DEFINE([HAVE_DECL_SIGNGAM],[0],[lgamma sign is not available]),
[#include <math.h>] )
?? [I guess I do - because of math.h, but, still, AC_CHECK_DECL was
supposed to put something in, right?]

AC_CHECK_DECLS defines the variable automatically. If you want to use AC_CHECK_DECL, yes, you have to use a construct like you mentioned.



Email: address@hidden

Get CVS support at <>!
Two wrongs do not make a right.  Three lefts do.

reply via email to

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