Browse Source

Fix configure script

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
888427d2df
  1. 10
      configure
  2. 1
      qbittorrent.qc

10
configure vendored

@ -27,6 +27,7 @@ Dependency options:
--with-libboost-lib=[path] Path to libboost library --with-libboost-lib=[path] Path to libboost library
files files
--disable-libnotify Disable use of libnotify --disable-libnotify Disable use of libnotify
--disable-geoip-database Disable use of geoip-database
--with-geoip-database-embedded Geoip Database will be --with-geoip-database-embedded Geoip Database will be
embedded in qBittorrent embedded in qBittorrent
executable (please follow executable (please follow
@ -176,6 +177,11 @@ while [ $# -gt 0 ]; do
shift shift
;; ;;
--disable-geoip-database)
QC_DISABLE_geoip_database="Y"
shift
;;
--with-geoip-database-embedded) --with-geoip-database-embedded)
QC_WITH_GEOIP_DATABASE_EMBEDDED="Y" QC_WITH_GEOIP_DATABASE_EMBEDDED="Y"
shift shift
@ -212,6 +218,7 @@ echo QC_DISABLE_GUI=$QC_DISABLE_GUI
echo QC_WITH_LIBBOOST_INC=$QC_WITH_LIBBOOST_INC echo QC_WITH_LIBBOOST_INC=$QC_WITH_LIBBOOST_INC
echo QC_WITH_LIBBOOST_LIB=$QC_WITH_LIBBOOST_LIB echo QC_WITH_LIBBOOST_LIB=$QC_WITH_LIBBOOST_LIB
echo QC_DISABLE_libnotify=$QC_DISABLE_libnotify echo QC_DISABLE_libnotify=$QC_DISABLE_libnotify
echo QC_DISABLE_geoip_database=$QC_DISABLE_geoip_database
echo QC_WITH_GEOIP_DATABASE_EMBEDDED=$QC_WITH_GEOIP_DATABASE_EMBEDDED echo QC_WITH_GEOIP_DATABASE_EMBEDDED=$QC_WITH_GEOIP_DATABASE_EMBEDDED
echo QC_WITH_QTSINGLEAPPLICATION=$QC_WITH_QTSINGLEAPPLICATION echo QC_WITH_QTSINGLEAPPLICATION=$QC_WITH_QTSINGLEAPPLICATION
echo echo
@ -651,7 +658,7 @@ cat >$1/modules_new.cpp <<EOT
o->required = false; o->required = false;
o->disabled = false; o->disabled = false;
o = new qc_geoip_database(conf); o = new qc_geoip_database(conf);
o->required = true; o->required = false;
o->disabled = false; o->disabled = false;
o = new qc_qtsingleapplication(conf); o = new qc_qtsingleapplication(conf);
o->required = true; o->required = true;
@ -1606,6 +1613,7 @@ export QC_DISABLE_GUI
export QC_WITH_LIBBOOST_INC export QC_WITH_LIBBOOST_INC
export QC_WITH_LIBBOOST_LIB export QC_WITH_LIBBOOST_LIB
export QC_DISABLE_libnotify export QC_DISABLE_libnotify
export QC_DISABLE_geoip_database
export QC_WITH_GEOIP_DATABASE_EMBEDDED export QC_WITH_GEOIP_DATABASE_EMBEDDED
export QC_WITH_QTSINGLEAPPLICATION export QC_WITH_QTSINGLEAPPLICATION
export QC_VERBOSE export QC_VERBOSE

1
qbittorrent.qc

@ -18,7 +18,6 @@
<dep type='libnotify'> <dep type='libnotify'>
</dep> </dep>
<dep type='geoip-database'> <dep type='geoip-database'>
<required/>
</dep> </dep>
<dep type='qtsingleapplication'> <dep type='qtsingleapplication'>
<required/> <required/>

Loading…
Cancel
Save