[gnome-software] build: Add --disable-fwupd and --disable-packagekit arguments to configure



commit 0a6f4b458125bbb66a96c06ac65e2db518519408
Author: Joaquim Rocha <jrocha endlessm com>
Date:   Tue Jul 18 13:38:15 2017 +0200

    build: Add --disable-fwupd and --disable-packagekit arguments to configure
    
    This can be useful for systems without those libs.

 configure |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure b/configure
index b2a0754..903f82b 100755
--- a/configure
+++ b/configure
@@ -78,6 +78,8 @@ while (($# > 0)); do
        --disable-man) enable_man='-Denable-man=false';;
        --enable-introspection) enable_introspection='';;
        --disable-introspection) enable_introspection='-Ddisable_introspection=true';;
+       --disable-fwupd) enable_fwupd='-Denable-fwupd=false';;
+       --disable-packagekit) enable_packagekit='-Denable-packagekit=false';;
        *) echo -e "\e[1;33mINFO\e[0m: Ignoring unknown option '$1'";;
     esac
     shift
@@ -123,7 +125,7 @@ echo "  libdir:...... ${libdir}"
 echo "  mandir:...... ${mandir}"
 echo "  includedir:.. ${includedir}"
 echo "  additional:.."
-echo "    - ${enable_docs} ${enable_man} ${enable_introspection}"
+echo "    - ${enable_docs} ${enable_man} ${enable_introspection} ${enable_fwupd} ${enable_packagekit}"
 
 exec ${MESON} \
        --prefix=${prefix} \
@@ -138,6 +140,8 @@ exec ${MESON} \
        ${enable_docs} \
        ${enable_man} \
        ${enable_introspection} \
+       ${enable_fwupd} \
+       ${enable_packagekit} \
        ${srcdir}
 
 # vim: ai ts=8 noet sts=2 ft=sh


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