Rearrange options in order of need

Boost is very little likely to be removed from the list of dependencies;
we rather want a continuous block to remove when customizing.
This commit is contained in:
Roland Kaufmann 2013-02-22 10:24:58 +01:00
parent 6e1453a80d
commit e7e53cedbf

16
configure vendored
View File

@ -22,9 +22,9 @@ Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
Optional Packages: Optional Packages:
--with-boost=PATH use Boost library from a specified location
--with-dune-common=PATH use DUNE-common library from a specified location --with-dune-common=PATH use DUNE-common library from a specified location
--with-dune-istl=PATH use DUNE-ISTL library from a specified location --with-dune-istl=PATH use DUNE-ISTL library from a specified location
--with-boost=PATH use Boost library from a specified location
--with-superlu=PATH user defined path to SuperLU library --with-superlu=PATH user defined path to SuperLU library
--with-agmg=PATH Include DOUBLE PRECISION version Notay's of AGMG --with-agmg=PATH Include DOUBLE PRECISION version Notay's of AGMG
Algebraic Multigrid solver from specified source Algebraic Multigrid solver from specified source
@ -146,20 +146,20 @@ while getopts -- ":-:" optchar; do
rootvar="" rootvar=""
;; ;;
agmg |\ agmg |\
boost |\
ert |\ ert |\
boost |\
zlib) zlib)
rootvar="${pkgname^^}_ROOT" rootvar="${pkgname^^}_ROOT"
;; ;;
dune-common |\
dune-istl |\
SuiteSparse |\
TinyXML)
rootvar="${pkgname}_ROOT"
;;
superlu) superlu)
rootvar="${pkgname^^}_PREFIX" rootvar="${pkgname^^}_PREFIX"
;; ;;
SuiteSparse |\
TinyXML |\
dune-istl |\
dune-common)
rootvar="${pkgname}_ROOT"
;;
*) *)
invalid_opt --with-${pkgname} invalid_opt --with-${pkgname}
rootvar="" rootvar=""