summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-02-11 15:16:40 +1000
committerDan McGee <dan@archlinux.org>2012-02-13 10:02:50 -0600
commit8741551dc94d506df72b5ae8453bca1e4d50dbab (patch)
treeb82a0f588672151330e7e66d6fe638318127b305 /configure.ac
parent3ba5391839b34823e97574cba2952d732c2729e0 (diff)
Move ROOTDIR definition into config.h
This was the only variable of its kind when a define was done on the compiler command line. Move it into config.h instead. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a88e5514..385a355a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,6 +335,7 @@ AM_CONDITIONAL(USE_GIT_VERSION, test "x$usegitver" = "xyes")
# Set root directory
AC_SUBST(ROOTDIR)
+AC_DEFINE_UNQUOTED([ROOTDIR], "$ROOTDIR", [The location of the root operating directory])
# Set package file extension
AC_SUBST(PKGEXT)
AC_DEFINE_UNQUOTED([PKGEXT], "$PKGEXT", [The file extension used by pacman packages])