Sam Steingold wrote:

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.



Thank you very much.
what about <math.h>?
how do I have <math.h> included during the check for signgam without
having to define [ACTION-IF-FOUND] and [ACTION-IF-NOT-FOUND] myself?



- Macro: AC_CHECK_DECLS (SYMBOLS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [INCLUDES = `default-includes']) For each of the SYMBOLS (_comma_-separated list), define `HAVE_DECL_SYMBOL' (in all capitals) to `1' if SYMBOL is declared, otherwise to `0'. If ACTION-IF-NOT-FOUND is given, it is additional shell code to execute when one of the function

... and so on ...

Oh, if you meant to avoid supplying ACTION-IF-FOUND and ACTION-IF-NOT-FOUND to AC_CHECK_DECLS, just pass them in empty:

AC_CHECK_DECLS (signgam, , , [#include <math.h>])

Derek

--
               *8^)

Email: [EMAIL PROTECTED]

Get CVS support at <http://ximbiot.com>!
--
"I wish you and yours every joy in life, old chap, and tons of money, and may you never die till I shoot you."


-James Joyce, "Dubliners"






Reply via email to