Whamcloud - gitweb
013a26545201e97f76e9bf52324916211836cf08
[fs/lustre-release.git] / autogen.sh
1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3
4 #
5 # This file is part of Lustre, http://www.lustre.org/
6 #
7 # autogen.sh
8 #
9 # Run various autotools, thereby creating the configure
10 # script and top-level make files
11 #
12
13 set -e
14 pw="$PWD"
15 for dir in libcfs lnet lustre ; do
16         ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I $pw/$dir/autoconf"
17 done
18
19 # avoid the "modules.order: No such file or directory" failure
20 touch modules.order
21
22 libtoolize -q
23 aclocal -I $pw/config $ACLOCAL_FLAGS
24 autoheader
25 automake -a -c
26 autoconf