[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_CONFIG_HEADERS: other variables as well?
From: |
Benoit SIGOURE |
Subject: |
Re: AC_CONFIG_HEADERS: other variables as well? |
Date: |
Fri, 24 Aug 2007 22:19:46 +0200 |
On Aug 24, 2007, at 9:35 PM, Daniel Barna wrote:
Hi,
I am wondering wether AC_CONFIG_HEADERS can substitute also other
variables into the generated configuration header file
(not only those which originate from an AC_CHECK_HEADER macro, but
some
other, which are based on other checks). If yes, how? AC_SUBST does
not
seem to work.
Thanks
Daniel
Hello Daniel,
You can invoke AC_DEFINE([YOUR_DEFINE], [value], [Description of the
define])
See:
http://www.gnu.org/software/autoconf/manual/html_node/Defining-
Symbols.html
AC_SUBST is only used to define values to be substituted by AC_OUTPUT
(typically for AC_CONFIG_FILES, that is the various Makefile.in among
others)
See:
http://www.gnu.org/software/autoconf/manual/html_node/Setting-Output-
Variables.html#index-AC_005fSUBST-989
Cheers,
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part