chiark / gitweb /
build-sys: default rootdir to prefix
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Jun 2010 03:02:50 +0000 (05:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Jun 2010 03:02:50 +0000 (05:02 +0200)
configure.ac

index dd3f152..16f1bcd 100644 (file)
@@ -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])