[systemd-commits] configure.ac

Kay Sievers kay at kemper.freedesktop.org
Wed Jan 4 18:43:32 PST 2012


 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit eb7bbee6cd182d5c4eb1e1180631c35158f59379
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Thu Jan 5 03:42:48 2012 +0100

    build-sys: switch autoconf's default prefix from /usr/local to /usr

diff --git a/configure.ac b/configure.ac
index a78febb..fa2b0fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@ AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
 AC_USE_SYSTEM_EXTENSIONS
 AC_SYS_LARGEFILE
-
+AC_PREFIX_DEFAULT([/usr])
 AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects])
 
 AC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/wiki/Software/systemd])
@@ -604,7 +604,7 @@ AC_ARG_WITH([pamlibdir],
 
 AC_ARG_WITH([rootprefix],
         AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
-        [], [with_rootprefix=${ac_default_prefix}])
+        [], [with_rootprefix=${prefix}])
 
 AC_ARG_WITH([rootlibdir],
         AS_HELP_STRING([--with-rootlibdir=DIR], [Root directory for libraries necessary for boot]),



More information about the systemd-commits mailing list