summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-04-26 23:31:09 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-27 00:08:47 +0200
commit27669061f40766457db93d5cc3dfe00dce240806 (patch)
tree2dc8f10dac5f8fba481f2591eb8909ca5de0712b /configure.ac
parent2d745456b2852d102e6f27f685c97118f2190669 (diff)
build-sys: Add --disable-binfmt configure switch
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a510026a0b..bc14b4dbd3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -242,6 +242,13 @@ if test "x$enable_libcryptsetup" != "xno"; then
fi
AM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"])
+have_binfmt=no
+AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool]))
+if test "x$enable_binfmt" != "xno"; then
+ have_binfmt=yes
+fi
+AM_CONDITIONAL(ENABLE_BINFMT, [test "$have_binfmt" = "yes"])
+
have_gtk=no
AC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools]))
if test "x$enable_gtk" != "xno"; then
@@ -481,6 +488,7 @@ echo "
PAM: ${have_pam}
AUDIT: ${have_audit}
SELinux: ${have_selinux}
+ binfmt: ${have_binfmt}
prefix: ${prefix}
root dir: ${with_rootdir}
udev rules dir: ${with_udevrulesdir}