This is an automated email from Gerrit. Mathias K?ster ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/336
-- gerrit commit ea05157380b57418141373aab368666d91bc32d5 Author: Mathias K <[email protected]> Date: Wed Jan 4 20:43:40 2012 +0100 add pkg-config test This patch check for pkg-config and set the HAVE_PKG_CONFIG variable to yes/no. The usage of pkg-config can be disabled by the --disable-pkg-config configure switch. In this case the HAVE_PKG_CONFIG variable is always no. Change-Id: Ic78e8ab3069691a2842732987020c8d4e4e3629d Signed-off-by: Mathias K <[email protected]> diff --git a/configure.ac b/configure.ac index ffab637..2c4108b 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,31 @@ AC_INIT([openocd], [0.6.0-dev], AC_CONFIG_SRCDIR([src/openocd.c]) m4_include([config_subdir.m4])dnl +# +# this test check if the pkg-config tool not disabled +# and available and initialize it +# +with_pkg_config=yes + +AC_ARG_ENABLE([pkg_config], + AS_HELP_STRING([--disable-pkg-config], + [Disable pkg-config usage]), + [with_pkg_config=$enableval], []) +if test "x$with_pkg_config" = "xyes"; +then + AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes) + + if test "x$HAVE_PKG_CONFIG" = "xyes"; + then + PKG_PROG_PKG_CONFIG + fi +else + HAVE_PKG_CONFIG=no +fi +# +# +# AM_INIT_AUTOMAKE([-Wall -Wno-portability dist-bzip2 dist-zip]) AM_MAINTAINER_MODE -- ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
