automake
[Top][All Lists]
Advanced

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

SYSCONFDIR: config.h vs. AM_CFLAGS


From: ibr
Subject: SYSCONFDIR: config.h vs. AM_CFLAGS
Date: Mon, 7 Mar 2005 10:42:18 +0100
User-agent: Mutt/1.5.6+20040907i

Hello,

I'm using SYSCONFDIR in one of my C source files. Currently I pass it
through the following definition:

AM_CFLAGS = ... -DSYSCONFDIR=\"@address@hidden"

This is cluttering the gcc command line, so I want to define it in
config.h. However, I can't figure out how to use it, since autoheader
says that acconfig.h is deprecated, and both config.h.in and config.h
are auto-generated. Is defining everything on the command line really
the best and intended way to do that?

Thanks in advance,
Baurzhan.




reply via email to

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