Merge pull request #55 from filbranden/rootprefix_empty1

Fix --with-rootprefix= (empty) with a workaround for now.
This commit is contained in:
Daniel Mack
2015-06-03 18:01:21 +02:00
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ fi
if [ ! -L /bin ]; then
args="$args \
--with-rootprefix= \
--with-rootprefix=/ \
--with-rootlibdir=$(libdir /lib) \
"
fi
+7
View File
@@ -1387,6 +1387,13 @@ AX_NORMALIZE_PATH([with_zshcompletiondir])
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= (empty) should default to "/" but AX_NORMALIZE_PATH
# defaults those to ".", solve that here for now until we can find a suitable
# fix for AX_NORMALIZE_PATH upstream at autoconf-archive.
# See: https://github.com/systemd/systemd/issues/54
if test "x${with_rootprefix}" = "x"; then
with_rootprefix="/"
fi
AX_NORMALIZE_PATH([with_rootprefix])
AC_ARG_WITH([rootlibdir],