[gnome-settings-daemon] build: Use lower case have_gudev



commit e136149accb019c6f700a06c35fa1ddb71f62bc0
Author: Michael Biebl <biebl debian org>
Date:   Thu Jun 14 22:56:20 2012 +0200

    build: Use lower case have_gudev
    
    Using the same name for the result of the pkg-config check and the
    define is confusing. So use lower case have_gudev for the pkg-config
    check and HAVE_GUDEV for AC_DEFINE/AM_CONDITIONAL.

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 45277c3..cf6b452 100644
--- a/configure.ac
+++ b/configure.ac
@@ -121,8 +121,8 @@ dnl ---------------------------------------------------------------------------
 GUDEV_PKG=""
 AC_ARG_ENABLE(gudev, AS_HELP_STRING([--disable-gudev],[Disable GUdev support (not optional on Linux platforms)]), enable_gudev=$enableval)
 if test x$enable_gudev != xno; then
-	PKG_CHECK_MODULES(GUDEV, gudev-1.0, HAVE_GUDEV="yes", HAVE_GUDEV="no")
-	if test "x$HAVE_GUDEV" = "xyes"; then
+	PKG_CHECK_MODULES(GUDEV, gudev-1.0, have_gudev="yes", have_gudev="no")
+	if test "x$have_gudev" = "xyes"; then
 		AC_DEFINE(HAVE_GUDEV, 1, [define if GUdev is available])
 		GUDEV_PKG="gudev-1.0"
 	else
@@ -131,9 +131,9 @@ if test x$enable_gudev != xno; then
 		fi
 	fi
 else
-	HAVE_GUDEV=no
+	have_gudev=no
 fi
-AM_CONDITIONAL(HAVE_GUDEV, test x$HAVE_GUDEV = xyes)
+AM_CONDITIONAL(HAVE_GUDEV, test x$have_gudev = xyes)
 
 dnl ---------------------------------------------------------------------------
 dnl - common



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]