summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-02 00:35:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-02 00:35:58 +0200
commit8c4a3079a7f358c179430d1aec59de8b670b5f6e (patch)
tree10da04769fee643057f65a1c8f29dfddf8fc3322 /configure.ac
parent5c546cb75e7380dfcc31e2c8770b605cbca501d4 (diff)
downloadsystemd-8c4a3079a7f358c179430d1aec59de8b670b5f6e.tar.gz
build-sys: install stuff intended for / into ${rootdir} which is configurable with --with-rootdir=
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ffdedeedff..dd3f152f90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,6 +269,12 @@ AC_ARG_WITH([udevrulesdir],
[with_udevrulesdir=/lib/udev/rules.d])
AC_SUBST([udevrulesdir], [$with_udevrulesdir])
+AC_ARG_WITH([rootdir],
+ AS_HELP_STRING([--with-rootdir=DIR], [Root directory for files necessary for boot]),
+ [],
+ [with_rootdir=/])
+AC_SUBST([rootdir], [$with_rootdir])
+
AC_OUTPUT([Makefile])
echo "
@@ -280,5 +286,7 @@ echo "
Syslog service: ${SPECIAL_SYSLOG_SERVICE}
D-Bus service: ${SPECIAL_DBUS_SERVICE}
Gtk: ${have_gtk}
+ prefix: ${prefix}
+ root dir: ${with_rootdir}
udev rules dir: ${with_udevrulesdir}
"