Fix configure script

This commit is contained in:
Christophe Dumez 2011-01-02 17:30:31 +00:00
parent 30d94d7c4d
commit 888427d2df
2 changed files with 9 additions and 2 deletions

10
configure vendored
View File

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

View File

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