|
From: | Derek Robert Price |
Subject: | Re: AC_CHECK_DECL+autoheader ==> nothing in config.h.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 configure.in to check for the lgamma() sign indicator. I expected autoheader to place "#undef HAVE_DECL_SIGNGAM" in config.h.in, but it does not do that. Do I _have_ to use the full version, like AC_CHECK_DECL(signgam, 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 config.h.in, right?]
AC_CHECK_DECLS defines the config.h.in variable automatically. If you want to use AC_CHECK_DECL, yes, you have to use a construct like you mentioned.
Derek -- *8^) Email: address@hidden Get CVS support at <http://ximbiot.com>! -- Two wrongs do not make a right. Three lefts do.
[Prev in Thread] | Current Thread | [Next in Thread] |