From: Andreas Henriksson Date: Wed, 23 Jul 2014 17:39:02 +0000 (+0200) Subject: build-sys: fix switch_root/pivot_root cut-n-paste error in configure.ac X-Git-Tag: v2.26-rc1~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbbdfbfe8618f64990ed321e1174e2ba9456601;p=thirdparty%2Futil-linux.git build-sys: fix switch_root/pivot_root cut-n-paste error in configure.ac The "linux only" check for pivot_root seems to suffer from a cut-n-paste problem from the earlier switch_root part. Signed-off-by: Andreas Henriksson --- diff --git a/configure.ac b/configure.ac index db53dff675..aae2456d59 100644 --- a/configure.ac +++ b/configure.ac @@ -1193,7 +1193,7 @@ AC_ARG_ENABLE([pivot_root], [], [UL_DEFAULT_ENABLE([pivot_root], [check])] ) UL_BUILD_INIT([pivot_root]) -UL_REQUIRES_LINUX([switch_root]) +UL_REQUIRES_LINUX([pivot_root]) UL_REQUIRES_SYSCALL_CHECK([pivot_root], [UL_CHECK_SYSCALL([pivot_root])]) AM_CONDITIONAL([BUILD_PIVOT_ROOT], [test "x$build_pivot_root" = xyes])