Whamcloud - gitweb
LU-16662 autoconf: fix configure test compile for CONFIG_KEYS
[fs/lustre-release.git] / autogen.sh
1 #!/bin/sh
2
3 # NOTE: Please avoid bashisms (bash specific syntax) in this script
4
5 set -e
6 pw="$PWD"
7 for dir in libcfs lnet lustre snmp ; do
8         ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $pw/$dir/autoconf"
9 done
10
11 # avoid the "modules.order: No such file or directory" failure
12 touch modules.order
13
14 libtoolize -q
15 aclocal -I $pw/config $ACLOCAL_FLAGS
16 autoheader
17 automake -a -c
18 autoconf