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: [EMAIL PROTECTED]

Get CVS support at <http://ximbiot.com>!
--
Two wrongs do not make a right.  Three lefts do.






Reply via email to