]> xenbits.xensource.com Git - libvirt.git/commitdiff
Make sure AC_ARG_WITH is always executed
authorGuido Günther <agx@sigxcpu.org>
Tue, 7 Jan 2014 22:55:15 +0000 (23:55 +0100)
committerGuido Günther <agx@sigxcpu.org>
Wed, 8 Jan 2014 16:51:11 +0000 (17:51 +0100)
configure.ac

index 97752f4e54a6dccaa12f4921f1d807de39cc104b..d02b9d2479ad2a6cf9a54bb9f77f8f6cdfeac676 100644 (file)
@@ -1418,13 +1418,12 @@ elif test "with_secdriver_apparmor" != "no" ; then
 fi
 AM_CONDITIONAL([WITH_SECDRIVER_APPARMOR], [test "$with_secdriver_apparmor" != "no"])
 
-if test "$with_apparmor" != "no"; then
 AC_ARG_WITH([apparmor-profiles],
   [AS_HELP_STRING([--with-apparmor-profiles],
     [install apparmor profiles @<:@default=no@:>@])],
   [with_apparmor_profiles=yes],
   [with_apparmor_profiles=no])
-else
+if test "$with_apparmor" = "no"; then
   with_apparmor_profiles="no"
 fi
 AM_CONDITIONAL([WITH_APPARMOR_PROFILES], [test "$with_apparmor_profiles" != "no"])