[gnome-mahjongg] Check for *-validate before using them



commit de5cbcc6cb21a3e450f367d0f897c7f8bd480fad
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Nov 6 18:33:52 2013 -0600

    Check for *-validate before using them

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ba789c5..74c8b0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,8 +25,8 @@ PKG_CHECK_MODULES(GNOME_MAHJONGG, [
 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
 AC_SUBST(GLIB_COMPILE_RESOURCES)
 
-AC_PATH_PROG(APPDATA_VALIDATE, appdata-validate)
-AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
+AC_PATH_PROG([APPDATA_VALIDATE], [appdata-validate], [/bin/true])
+AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
 
 dnl ###########################################################################
 dnl Internationalization


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