X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autogen.sh;h=f8b7741f29255a7c68ca5ba50c80ca5f22935984;hp=b0706b4274ca0eb28039a1d75e647e1ff6381dba;hb=e9472c54ac820c3a0db2318a6ef894c3971e6e0b;hpb=7e773a89d8bea8bd2a1680406bb3bd39d8050dbc diff --git a/autogen.sh b/autogen.sh index b0706b4..f8b7741 100644 --- a/autogen.sh +++ b/autogen.sh @@ -2,59 +2,14 @@ # NOTE: Please avoid bashisms (bash specific syntax) in this script -# install Lustre Git commit hooks by default - LU-2083 -for HOOK in commit-msg prepare-commit-msg; do - [ -e .git/hooks/$HOOK ] || ln -sf ../build/$HOOK .git/hooks/ +set -e +pw="$PWD" +for dir in libcfs lnet lustre snmp ; do + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $pw/$dir/autoconf" done -echo "Checking for a complete tree..." -REQUIRED_DIRS="build libcfs lnet lustre" -OPTIONAL_DIRS="snmp portals" -CONFIGURE_DIRS="libsysio lustre-iokit ldiskfs" - -for dir in $REQUIRED_DIRS ; do - if [ ! -d "$dir" ] ; then - cat >&2 <