[gnome-music] Fail configure if gjs is not found
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fail configure if gjs is not found
- Date: Sat, 11 May 2013 18:30:47 +0000 (UTC)
commit 2f562e99d8ced2857c4c08a92f8fe417ad11c926
Author: Guillaume Quintard <guillaume quintard gmail com>
Date: Thu May 9 17:33:59 2013 +0200
Fail configure if gjs is not found
Fixes bug 698824
Signed-off-by: Seif Lotfy <seif lotfy com>
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1da5a0b..f45d40c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,10 @@ PKG_PROG_PKG_CONFIG([0.22])
GLIB_GSETTINGS
GOBJECT_INTROSPECTION_REQUIRE([1.35.9])
-AC_PATH_PROG([GJS],[gjs])
+AC_PATH_PROG([GJS],[gjs], [no])
+if test "$GJS" = "no" ; then
+ AC_MSG_ERROR([Can't find "gjs" in your PATH])
+fi
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]