From a383127f0300c17c4da7052a4905c5419be52e0e Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Sun, 23 Apr 2006 22:05:18 +0000 Subject: [PATCH] Give some hint on why a particular pkg-config tests fails. (Old svn revision: 21189) --- configure.ac.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index 3086fc42a..f020c2ba0 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -75,7 +75,7 @@ XDT_CHECK_OPTIONAL_PACKAGE([LIBSTARTUP_NOTIFICATION], dnl dnl Render support dnl -if $PKG_CONFIG --exists xrender 2> /dev/null; then +if $PKG_CONFIG --print-errors --exists xrender 2> /dev/null; then PKG_CHECK_MODULES(RENDER, xrender) have_render="yes" AC_DEFINE([HAVE_RENDER], [1], [Define to enable render]) @@ -120,7 +120,7 @@ AC_HELP_STRING([--disable-compositor], [disable compositor in xfwm4]), if test x"$enable_compositor" = x"yes"; then if test x"$have_render" = x"yes"; then - if $PKG_CONFIG --exists xcomposite xfixes xdamage xrender 2> /dev/null; then + if $PKG_CONFIG --print-errors --exists xcomposite xfixes xdamage xrender 2> /dev/null; then PKG_CHECK_MODULES(COMPOSITOR, xcomposite >= 0.2 xfixes xdamage) AC_DEFINE([HAVE_COMPOSITOR], [1], [Define to enable compositor]) ENABLE_COMPOSITOR="--enable-compositor" -- GitLab