X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autogen.sh;h=3f5031ced5bbce451b8ddb11f6bc8f8ca847aa0c;hp=1fce0a455fc75dbe6868fadaace20be4c998bef7;hb=ab37ffd3ad85280b39fc9c12e5fc64ed3d4fd4a9;hpb=147839e23d49551ba61319b0812a3ef7e36cc80a diff --git a/autogen.sh b/autogen.sh index 1fce0a4..3f5031c 100644 --- a/autogen.sh +++ b/autogen.sh @@ -1,9 +1,15 @@ #!/bin/sh -# 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/ -done +# NOTE: Please avoid bashisms (bash specific syntax) in this script + +set -e -exec bash build/autogen.sh $@ +for dir in libcfs lnet lustre snmp ; do + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $PWD/$dir/autoconf" +done +libtoolize -q +aclocal -I $PWD/config $ACLOCAL_FLAGS +autoheader +automake -a -c +autoconf