diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-15 16:21:34 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-15 16:21:34 +0000 |
commit | 38b543f4502d69ea5c526705ce01c1223bf86e3f (patch) | |
tree | e84ea3f703daaf44ea7584ceb0d3650958248f6f | |
parent | 6dc2248fdab8daa30276469b3db76f964d6c89e5 (diff) | |
download | appstream-glib-wip/hughsie/rhel-72.tar.gz |
-rw-r--r-- | configure.ac | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index e7dd4aa..215b39b 100644 --- a/configure.ac +++ b/configure.ac @@ -150,9 +150,11 @@ if test x$enable_builder != xno; then PKG_CHECK_MODULES(GTK, gtk+-3.0) PKG_CHECK_MODULES(SQLITE, sqlite3) PKG_CHECK_MODULES(FREETYPE, pango fontconfig freetype2 >= 9.10.0) - AC_PATH_PROG(GCAB, [gcab], [no]) - if test x$GCAB = "xno" ; then - AC_MSG_ERROR([gcab program not found]) + if test x$enable_firmware != xno; then + AC_PATH_PROG(GCAB, [gcab], [no]) + if test x$GCAB = "xno" ; then + AC_MSG_ERROR([gcab program not found]) + fi fi # ostree (default enabled) |