Whamcloud - gitweb
LU-4430 mdt: check for MDS_FMODE_EXEC in mdt_mfd_open()
[fs/lustre-release.git] / autogen.sh
index 3920385..215f339 100644 (file)
@@ -1,2 +1,18 @@
 #!/bin/sh
-exec sh 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
+
+aclocal -I $PWD/config $ACLOCAL_FLAGS
+autoheader
+automake -a -c
+autoconf
+
+cd libsysio
+echo "bootstrapping in libsysio..."
+sh autogen.sh