summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Henriksson2014-07-23 19:39:02 +0200
committerKarel Zak2014-07-24 12:13:06 +0200
commit5cbbdfbfe8618f64990ed321e1174e2ba9456601 (patch)
tree5a05ffc140878582ed04179b83e0e127ffe15737 /configure.ac
parenttextual: fix some typos and inconsistencies in various messages (diff)
downloadkernel-qcow2-util-linux-5cbbdfbfe8618f64990ed321e1174e2ba9456601.tar.gz
kernel-qcow2-util-linux-5cbbdfbfe8618f64990ed321e1174e2ba9456601.tar.xz
kernel-qcow2-util-linux-5cbbdfbfe8618f64990ed321e1174e2ba9456601.zip
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 <andreas@fatal.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db53dff67..aae2456d5 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])