NetworkManager r3653 - in trunk: . policy



Author: dcbw
Date: Fri May  9 19:08:40 2008
New Revision: 3653
URL: http://svn.gnome.org/viewvc/NetworkManager?rev=3653&view=rev

Log:
Build fixes from Michael Biebl

Modified:
   trunk/configure.in
   trunk/policy/Makefile.am

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Fri May  9 19:08:40 2008
@@ -221,11 +221,7 @@
 
 PKG_CHECK_MODULES(POLKIT, polkit-dbus)
 
-AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
-    [polkit-policy-file-validate], [polkit-policy-file-validate])
-if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
-    AC_MSG_ERROR([polkit-policy-file-validate not found])
-fi
+AC_PATH_PROG([POLKIT_POLICY_FILE_VALIDATE], [polkit-policy-file-validate], [false])
 
 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
 AC_SUBST(GLIB_GENMARSHAL)

Modified: trunk/policy/Makefile.am
==============================================================================
--- trunk/policy/Makefile.am	(original)
+++ trunk/policy/Makefile.am	Fri May  9 19:08:40 2008
@@ -4,11 +4,11 @@
 	org.freedesktop.network-manager-settings.system.policy
 
 check:
-	for f in $(dist_polkit_policy_DATA); do \
+	@for f in $(dist_polkit_policy_DATA); do \
             echo -n "Validate PolicyKit policy in $$f : "; \
             $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \
 	    ret=$$?; \
-            if  [ "$$ret" == "0" ]; \
+            if  [ "$$ret" = "0" ]; \
 	      then \
                 echo ok; \
             else \



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