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 dd3f152f9087fbcaf0c54f9080aaf27a8ee5c6ad..16f1bcdb6e0e0df2734b22bb285bfc7ac673c222 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])