aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-09-09 22:22:15 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-09-09 22:22:15 -0500
commit5092595835461e889fbac14d4cfc6c06b5f55019 (patch)
tree7e7a35a5e67c401aa71c566c0c9fac0408d6c159 /src/librc
parent918d261658a75e42589d9e5556613a84eacbd14f (diff)
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.
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/rc.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index e4cb60dd..32dbef08 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -33,6 +33,7 @@
__BEGIN_DECLS
+#define RC_PREFIX "@PREFIX@"
#define RC_SYSCONFDIR "@SYSCONFDIR@"
#define RC_LIBDIR "@PREFIX@/@LIB@/rc"
#define RC_LIBEXECDIR "@LIBEXECDIR@"