X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=autogen.sh;h=f8b7741f29255a7c68ca5ba50c80ca5f22935984;hb=bde0ebd6a3e88de5b8d7681efe5d67b98e7fe6a0;hp=a32c3f8bc95d3d3e890bf7d4ae75d47140cb49b6;hpb=658cf7b268a360339f53405ced92140d1ddc1621;p=fs%2Flustre-release.git diff --git a/autogen.sh b/autogen.sh index a32c3f8..f8b7741 100644 --- a/autogen.sh +++ b/autogen.sh @@ -1,2 +1,15 @@ #!/bin/sh -exec bash build/autogen.sh $@ + +# NOTE: Please avoid bashisms (bash specific syntax) in this script + +set -e +pw="$PWD" +for dir in libcfs lnet lustre snmp ; do + ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $pw/$dir/autoconf" +done + +libtoolize -q +aclocal -I $pw/config $ACLOCAL_FLAGS +autoheader +automake -a -c +autoconf