[PATCH intel-gpu-tools v2 6/6] config: remove unused AC_DEFINE for CAIRO, LIBUDEV and GLIB

Gaetan Nadon memsize at videotron.ca
Fri Jan 6 15:25:10 PST 2012


Only the AM_CONDITIONAL is used.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7265917..f58a8f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,21 +49,12 @@ PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.23 libdrm])
 PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
 
 PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
-if test "x$HAVE_CAIRO" = xyes; then
-	AC_DEFINE(HAVE_CAIRO, 1, [Have cairo support])
-fi
 AM_CONDITIONAL(HAVE_CAIRO, [test "x$HAVE_CAIRO" = xyes])
 
 PKG_CHECK_MODULES(LIBUDEV, libudev, [HAVE_LIBUDEV=yes], [HAVE_LIBUDEV=no])
-if test "x$HAVE_LIBUDEV" = xyes; then
-   	AC_DEFINE(HAVE_LIBUDEV, 1, [Have libudev support])
-fi
 AM_CONDITIONAL(HAVE_LIBUDEV, [test "x$HAVE_LIBUDEV" = xyes])
 
 PKG_CHECK_MODULES(GLIB, glib-2.0, [HAVE_GLIB=yes], [HAVE_GLIB=no])
-if test "x$HAVE_GLIB" = xyes; then
-   	AC_DEFINE(HAVE_GLIB, 1, [Have glib support])
-fi
 AM_CONDITIONAL(HAVE_GLIB, [test "x$HAVE_GLIB" = xyes])
 
 # -----------------------------------------------------------------------------
-- 
1.7.5.4



More information about the xorg-devel mailing list