--- trunk/mage/usr/lib/mage/smage2.sh 2012/01/13 13:20:22 1631 +++ trunk/mage/usr/lib/mage/smage2.sh 2012/01/13 13:21:21 1632 @@ -244,6 +244,9 @@ then myopts+=" --target=${CTARGET}" fi + + if [ -x ./configure ] + then # if requested disable-static if [[ ! -z $(./configure --help | grep -- '--.*able-static') ]] then @@ -261,8 +264,6 @@ myopts+=" --enable-shared" fi - if [ -x ./configure ] - then ./configure \ --prefix=/usr \ --host=${CHOST} \