This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SYSCONFDIR: config.h vs. AM_CFLAGS


Hello,

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

AM_CFLAGS = ... -DSYSCONFDIR=\"@sysconfdir@\"

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]