add RC_PREFIX environment variable

This will be used by init scripts which want to be able to run in a
Gentoo Prefix installation. RC_PREFIX will contain the prefix offset.
This commit is contained in:
William Hubbs
2012-09-09 22:22:15 -05:00
parent 918d261658
commit 5092595835
3 changed files with 8 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
__BEGIN_DECLS
#define RC_PREFIX "@PREFIX@"
#define RC_SYSCONFDIR "@SYSCONFDIR@"
#define RC_LIBDIR "@PREFIX@/@LIB@/rc"
#define RC_LIBEXECDIR "@LIBEXECDIR@"