autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_DECL+autoheader ==> nothing in config.h.in?


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

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: address@hidden

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

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