mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
Merge pull request #55 from filbranden/rootprefix_empty1
Fix --with-rootprefix= (empty) with a workaround for now.
This commit is contained in:
commit
75db28c8f2
@ -47,7 +47,7 @@ fi
|
||||
|
||||
if [ ! -L /bin ]; then
|
||||
args="$args \
|
||||
--with-rootprefix= \
|
||||
--with-rootprefix=/ \
|
||||
--with-rootlibdir=$(libdir /lib) \
|
||||
"
|
||||
fi
|
||||
|
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user