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