Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* landing build diffs from b_release_1_4_7_1
[fs/lustre-release.git]
/
build
/
autogen.sh
diff --git
a/build/autogen.sh
b/build/autogen.sh
index
05be061
..
94e9ad3
100644
(file)
--- a/
build/autogen.sh
+++ b/
build/autogen.sh
@@
-78,7
+78,8
@@
check_version() {
}
echo "Checking for a complete tree..."
}
echo "Checking for a complete tree..."
-for dir in build portals lustre ; do
+# required directories
+for dir in build lnet lustre ; do
if [ ! -d "$dir" ] ; then
cat >&2 <<EOF
Your tree seems to be missing $dir.
if [ ! -d "$dir" ] ; then
cat >&2 <<EOF
Your tree seems to be missing $dir.
@@
-88,6
+89,12
@@
EOF
fi
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $PWD/$dir/autoconf"
done
fi
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $PWD/$dir/autoconf"
done
+# some are optional
+for dir in snmp portals; do
+ if [ -d "$dir" ] ; then
+ ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $PWD/$dir/autoconf"
+ fi
+done
check_version automake automake-1.7 "1.7.8"
check_version autoconf autoconf "2.57"
check_version automake automake-1.7 "1.7.8"
check_version autoconf autoconf "2.57"