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

AM_CFLAGS = ... -DSYSCONFDIR=\"@[EMAIL PROTECTED]"

This is cluttering the gcc command line, so I want to define it in
config.h.

Isn't config.h created at configure time? AFAIK directory installation variables should only be defined at make time. See ``info Autoconf "Installation Directory Variables"''.

Maybe you could use instead a dedicated header, created through the
Makefile.  See ``info Autoconf "Defining Directories"''.[2]

--
Leonardo Boiko

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to