diff options
author | Richard Hughes <richard@hughsie.com> | 2015-03-14 15:06:50 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-03-14 15:06:50 +0000 |
commit | ba0071747a60ec2fec3da09ce8e9238e114e11ec (patch) | |
tree | 32af0b97c885e3e38392b8b43bf95e5228f1ebcc | |
parent | 35db419b6ef8e9b07036266359ff2edfbacccbc1 (diff) | |
parent | ffb0be723ce388643b85001f33b514f289a0bf54 (diff) | |
download | appstream-glib-ba0071747a60ec2fec3da09ce8e9238e114e11ec.tar.gz |
Merge pull request #39 from aruiz/master
configure.ac: gcab is a hard requirement
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 45e5f45..f646e8d 100644 --- a/configure.ac +++ b/configure.ac @@ -128,7 +128,10 @@ PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.24) PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0 >= 2.14 gtk+-3.0) PKG_CHECK_MODULES(SQLITE, sqlite3) PKG_CHECK_MODULES(FREETYPE, pango fontconfig freetype2 >= 9.10.0) -AC_PATH_PROG(GCAB, gcab) +AC_PATH_PROG(GCAB, [gcab], [no]) +if test x$GCAB = "xno" ; then + AC_MSG_ERROR([gcab program not gound]) +fi # ostree (default enabled) AC_ARG_ENABLE(ostree, AS_HELP_STRING([--disable-ostree],[Disable ostree support]), enable_ostree=$enableval) |