Whamcloud - gitweb
LU-1187 tests: add create remote directory to racer
[fs/lustre-release.git] / lustre-iokit / autogen.sh
1 #!/bin/sh
2
3 fatal() {
4     local msg="$1"
5
6     echo "FATAL: $msg"
7     exit 1
8 }
9
10 run_cmd() {
11     local cmd="$1"
12
13     echo "Running $cmd..."
14     $cmd || fatal "$cmd failed!"
15 }
16
17 run_cmd ${ACLOCAL:-aclocal}
18 run_cmd "${AUTOMAKE:-automake} -a -c"
19 run_cmd autoconf
20
21 echo "Finished.  Ready for ./configure ..."