Whamcloud - gitweb
LU-11570 lnet: update changelog
[fs/lustre-release.git] / autogen.sh
index a32c3f8..f8b7741 100644 (file)
@@ -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