X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fconfigure;fp=src%2Fmodules%2Fconfigure;h=b10101ba323f2bb5c9714b4eae950c1567fffc28;hb=263e253a65f403b90eecf0b46b692e326e970b29;hp=1a7b7492202cd2dfa846f3c5df767fc99fedd93a;hpb=4e0d81f783c9a4a3af2baf6ebb5a8a9e749f86c3;p=melted diff --git a/src/modules/configure b/src/modules/configure index 1a7b749..b10101b 100755 --- a/src/modules/configure +++ b/src/modules/configure @@ -19,11 +19,17 @@ for i in * do if [ -x $i/configure -a \( "$help" = "1" -o ! -f disable-$i \) ] then - [ "$help" = "0" ] && echo "Configuring modules/$i:" - pushd $i > /dev/null - ./configure $@ - [ $? != 0 ] && exit 1 - popd > /dev/null + if [ "$gpl" = "true" -o ! -f $i/gpl ] + then + [ "$help" = "0" ] && echo "Configuring modules/$i:" + pushd $i > /dev/null + ./configure $@ + [ $? != 0 ] && exit 1 + popd > /dev/null + elif [ "$help" = "0" ] + then + touch disable-$i + fi fi done