Whamcloud - gitweb
LU-7422 llite: don't panic when fid is insane
[fs/lustre-release.git] / autogen.sh
index 1fce0a4..f8b7741 100644 (file)
@@ -1,9 +1,15 @@
 #!/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/
-done
+# NOTE: Please avoid bashisms (bash specific syntax) in this script
 
-exec bash build/autogen.sh $@ 
+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