summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-02 05:02:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-02 05:02:50 +0200
commita6baa3f681fad58555e28c50589595d98ec81a23 (patch)
tree2430bf54a6bceed05daeeedb2461ff04aa269ce9
parent695d1ef183a2200cf5f32998f9bd7eb0d8b56ac2 (diff)
build-sys: default rootdir to prefix
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dd3f152f90..16f1bcdb6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -272,7 +272,7 @@ AC_SUBST([udevrulesdir], [$with_udevrulesdir])
AC_ARG_WITH([rootdir],
AS_HELP_STRING([--with-rootdir=DIR], [Root directory for files necessary for boot]),
[],
- [with_rootdir=/])
+ [with_rootdir=${ac_default_prefix}])
AC_SUBST([rootdir], [$with_rootdir])
AC_OUTPUT([Makefile])