diff options
-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) |