X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fconfigure;h=e80a585d7f1f6df3b47729fde68ea6a8cd2ab3ef;hb=e53a5e8644a3a3392711882aae301a0e5a6d29db;hp=ee654132529f53502ba844d8a080b86a6b6a8d54;hpb=38e6c34fc515c79ce13f7ea05735c3871c73607a;p=melted diff --git a/src/modules/configure b/src/modules/configure index ee65413..e80a585 100755 --- a/src/modules/configure +++ b/src/modules/configure @@ -4,7 +4,7 @@ [ "$help" != "1" ] && rm -f disable-* producers.dat filters.dat transitions.dat consumers.dat # Create the make.inc file -echo SUBDIRS = `find . -maxdepth 1 -type d | grep -v CVS | grep -v "^.$" | sed 's/\.\///'` > make.inc +echo SUBDIRS = `find . -maxdepth 1 -type d | grep -v .svn | grep -v "^.$" | sed 's/\.\///'` > make.inc # Iterate through arguments for i in "$@" @@ -17,16 +17,22 @@ done # Iterate through each of the components for i in * do - if [ -x $i/configure -a \( "$help" = "1" -o ! -f disable-$i \) ] + if [ -d $i -a \( "$help" = "1" -o ! -f disable-$i \) ] then if [ "$gpl" = "true" -o ! -f $i/gpl ] then - [ "$help" = "0" ] && echo "Configuring modules/$i:" - olddir2=`pwd` - cd $i - ./configure "$@" - [ $? != 0 ] && exit 1 - cd $olddir2 + [ -f $i/Makefile -a "$help" = "0" ] && echo "Configuring modules/$i:" + if [ -x $i/configure ] + then + olddir2=`pwd` + cd $i + ./configure "$@" + [ $? != 0 ] && exit 1 + cd $olddir2 + elif [ -f $i/configure ] + then + echo " configure script is not set executable!" + fi elif [ "$help" = "0" ] then touch disable-$i