public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
To: linux-audit@redhat.com
Cc: gcwilson@us.ibm.com, bryntcor@us.ibm.com
Subject: [PATCH] Fix output of configure.ac
Date: Fri,  2 Mar 2012 14:04:29 -0300	[thread overview]
Message-ID: <1330707869-27121-1-git-send-email-mhcerri@linux.vnet.ibm.com> (raw)

configure.ac doesn't show a "yes" when apparmor or some other features are
enabled. This patch fix it.
---
 configure.ac |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9ac4719..b6d68ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,10 +157,9 @@ use_alpha=$withval,
 use_alpha=no)
 if test x$use_alpha != xno ; then
       AC_DEFINE(WITH_ALPHA,1,[Define if you want to enable Alpha processor support.])
-else
-	AC_MSG_RESULT(no)
 fi
 AM_CONDITIONAL(USE_ALPHA, test x$use_alpha = xyes)
+AC_MSG_RESULT($use_alpha)
 
 AC_MSG_CHECKING(whether to include arm eabi processor support)
 AC_ARG_WITH(armeb,
@@ -169,10 +168,9 @@ use_armeb=$withval,
 use_armeb=no)
 if test x$use_armeb != xno ; then
       AC_DEFINE(WITH_ARMEB,1,[Define if you want to enable Arm eabi processor support.])
-else
-	AC_MSG_RESULT(no)
 fi
 AM_CONDITIONAL(USE_ARMEB, test x$use_armeb = xyes)
+AC_MSG_RESULT($use_armeb)
 
 AC_MSG_CHECKING(whether to use apparmor)
 AC_ARG_WITH(apparmor,
@@ -181,17 +179,17 @@ use_apparmor=$withval,
 use_apparmor=no)
 if test x$use_apparmor != xno ; then
       AC_DEFINE(WITH_APPARMOR,1,[Define if you want to enable AppArmor events.])
-else
-	AC_MSG_RESULT(no)
 fi
+AC_MSG_RESULT($use_apparmor)
 
+AC_MSG_CHECKING(whether to use prelude)
 AC_ARG_WITH(prelude,
 AS_HELP_STRING([--with-prelude],[enable prelude IDS support]),
 use_prelude=$withval,
 use_prelude=no)
+AC_MSG_RESULT($use_prelude)
 if test x$use_prelude = xno ; then
 	have_prelude=no;
-	AC_MSG_RESULT(no)
 else
       AC_CHECK_LIB(prelude, prelude_init,
                  have_prelude=yes, have_prelude=no)
@@ -200,7 +198,7 @@ else
       else
 	LIBPRELUDE_CFLAGS=`libprelude-config --pthread-cflags 2>/dev/null`
 	LIBPRELUDE_LDFLAGS=`libprelude-config --ldflags 2>/dev/null`
-
+        AC_MSG_RESULT(yes)
       fi
 fi
 AM_CONDITIONAL(HAVE_PRELUDE, test x$have_prelude = xyes)
-- 
1.7.1

             reply	other threads:[~2012-03-02 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-02 17:04 Marcelo Cerri [this message]
2012-03-02 20:22 ` [PATCH] Fix output of configure.ac Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1330707869-27121-1-git-send-email-mhcerri@linux.vnet.ibm.com \
    --to=mhcerri@linux.vnet.ibm.com \
    --cc=bryntcor@us.ibm.com \
    --cc=gcwilson@us.ibm.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox