From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Cerri Subject: [PATCH] Fix output of configure.ac Date: Fri, 2 Mar 2012 14:04:29 -0300 Message-ID: <1330707869-27121-1-git-send-email-mhcerri@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q22H4d9i010549 for ; Fri, 2 Mar 2012 12:04:39 -0500 Received: from e24smtp03.br.ibm.com (e24smtp03.br.ibm.com [32.104.18.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q22H4a2o008121 for ; Fri, 2 Mar 2012 12:04:37 -0500 Received: from /spool/local by e24smtp03.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Mar 2012 14:04:34 -0300 Received: from d24relay01.br.ibm.com (d24relay01.br.ibm.com [9.8.31.16]) by d24dlp01.br.ibm.com (Postfix) with ESMTP id B49EB3520044 for ; Fri, 2 Mar 2012 14:04:32 -0300 (BRT) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.8.31.93]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q22H4OXo1495086 for ; Fri, 2 Mar 2012 14:04:24 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q22H4VP2007416 for ; Fri, 2 Mar 2012 14:04:31 -0300 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: gcwilson@us.ibm.com, bryntcor@us.ibm.com List-Id: linux-audit@redhat.com 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