Re: AC_CONFIG_HEADERS: other variables as well?

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

 



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


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux