Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by bhuna.collabora.co.uk (Postfix) with ESMTP id D8BAB170866D for ; Wed, 5 Jun 2013 15:20:23 +0100 (BST) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E5EBE6152 for ; Wed, 5 Jun 2013 07:20:23 -0700 (PDT) X-Original-To: dbus@lists.freedesktop.org Delivered-To: dbus@lists.freedesktop.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 1760AE5CC0 for ; Wed, 5 Jun 2013 07:20:08 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 05 Jun 2013 07:20:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,807,1363158000"; d="scan'208";a="345192269" Received: from chengwei-ubuntu.bj.intel.com ([10.238.155.181]) by fmsmga001.fm.intel.com with ESMTP; 05 Jun 2013 07:20:27 -0700 From: Chengwei Yang To: dbus@lists.freedesktop.org Subject: [PATCH] [configure.ac]: two small fixes Date: Wed, 5 Jun 2013 22:19:54 +0800 Message-Id: <1370441994-1214-1-git-send-email-chengwei.yang@intel.com> X-Mailer: git-send-email 1.7.9.5 X-BeenThere: dbus@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: dbus-bounces+simon.mcvittie=collabora.co.uk@lists.freedesktop.org Errors-To: dbus-bounces+simon.mcvittie=collabora.co.uk@lists.freedesktop.org X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Wed Jun 5 15:27:19 2013 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 5,51af4ac719121004411833 This commit does polish a little to configure.ac. 1. add configure option for coverage-profiling 2. assign the default value to with_xml Both of them are to avoid null variable in configure summary like below: ... gcc coverage profiling: ... Using XML parser: ... Signed-off-by: Chengwei Yang --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f351fde..fb3604a 100644 --- a/configure.ac +++ b/configure.ac @@ -155,10 +155,11 @@ AC_ARG_ENABLE(inotify, AS_HELP_STRING([--enable-inotify],[build with inotify sup AC_ARG_ENABLE(kqueue, AS_HELP_STRING([--enable-kqueue],[build with kqueue support]),enable_kqueue=$enableval,enable_kqueue=auto) AC_ARG_ENABLE(console-owner-file, AS_HELP_STRING([--enable-console-owner-file],[enable console owner file]),enable_console_owner_file=$enableval,enable_console_owner_file=auto) AC_ARG_ENABLE(userdb-cache, AS_HELP_STRING([--enable-userdb-cache],[build with userdb-cache support]),enable_userdb_cache=$enableval,enable_userdb_cache=yes) +AC_ARG_ENABLE(coverage-profiling, AS_HELP_STRING([--enable-coverage-profiling],[build with coverage profiling]),[enable_compiler_coverage=$enableval],[enable_compiler_coverage=no]) AC_ARG_ENABLE(launchd, AS_HELP_STRING([--enable-launchd],[build with launchd auto-launch support]),enable_launchd=$enableval,enable_launchd=auto) AC_ARG_ENABLE(systemd, AS_HELP_STRING([--enable-systemd],[build with systemd at_console support]),enable_systemd=$enableval,enable_systemd=auto) -AC_ARG_WITH(xml, AS_HELP_STRING([--with-xml=[libxml/expat]],[XML library to use (libxml may be named libxml2 on some systems)])) +AC_ARG_WITH(xml, AS_HELP_STRING([--with-xml=[libxml/expat]],[XML library to use (libxml may be named libxml2 on some systems), @<:@default=expat@:>@]),[with_xml=$withval],[with_xml=expat]) AC_ARG_WITH(init-scripts, AS_HELP_STRING([--with-init-scripts=[redhat]],[Style of init scripts to install])) AC_ARG_WITH(session-socket-dir, AS_HELP_STRING([--with-session-socket-dir=[dirname]],[Where to put sockets for the per-login-session message bus])) AC_ARG_WITH(test-socket-dir, AS_HELP_STRING([--with-test-socket-dir=[dirname]],[Where to put sockets for make check])) -- 1.7.9.5 _______________________________________________ dbus mailing list dbus@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dbus