Displaying 1 result from an estimated 1 matches for "dconfig_sysconfdir".
Did you mean:
config_sysconfdir
2004 Aug 20
2
[LLVMdev] Configuration Values
...ns, env vars, and "standard"
places.
So, somehow I need to get the value of the autoconf variable
@sysconfdir@ into my program. There's a few ways to do this and since
we're likely to eventually run into this again I'm trying to figure out
what's best for LLVM:
0. Pass -DCONFIG_SYSCONFDIR=$(sysconfdir) on the command line.
1. Create include/Config/Values.h.in with something like:
#define CONFIG_SYSCONFDIR "@sysconfdir@"
2. Create lib/Support/ConfigValues.cpp.in with something like:
namespace llvm {
const char Config_SysConfDir[] = "@sysconfdir@";
}
3 Create...