Changeset 207
- Timestamp:
- Jan 18, 2007 9:47:37 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/run_autotools
r96 r207 50 50 fi 51 51 52 # Find directories which contain a file configure.ac. When all is said and 53 # done, each entry in dirs will be of the form `./path/to/directory' 54 52 55 if test $# != 0; then 53 56 dirs="$*" … … 58 61 if test -r $dir/configure.ac; then 59 62 dirs="$dirs $dir" 63 else 64 echo "$dir/configure.ac doesn't appear to be a regular file; skipping." 60 65 fi 61 66 done 62 67 fi 68 69 # Now compare against the skip entries in COIN_SKIP_PROJECTS. To match the 70 # entries we just collected, add `./' to the front of each skip entry. 71 72 pos_dirs=$dirs 73 if test x${COIN_SKIP_PROJECTS+set} = xset ; then 74 dirs= 75 for dir in $COIN_SKIP_PROJECTS ; do 76 skip_dirs="$skip_dirs ./$dir" 77 done 78 for dir in $pos_dirs ; do 79 skip=0 80 for skipdir in $skip_dirs ; do 81 if test $dir = $skipdir ; then 82 skip=1 83 break 84 fi 85 done 86 if test $skip = 0 ; then 87 dirs="$dirs $dir" 88 else 89 echo "$dir listed in COIN_SKIP_PROJECTS; skipping." 90 fi 91 done 92 fi 93 63 94 echo Running autotools in $dirs 64 95
Note: See TracChangeset
for help on using the changeset viewer.