X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=autogen.sh;h=3f5031ced5bbce451b8ddb11f6bc8f8ca847aa0c;hp=a32c3f8bc95d3d3e890bf7d4ae75d47140cb49b6;hb=f26cdd1c6e1d0570f2debc13b4165a0c710f6fe5;hpb=658cf7b268a360339f53405ced92140d1ddc1621 diff --git a/autogen.sh b/autogen.sh index a32c3f8..3f5031c 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 + +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