source: bootstrap@ 9743

Last change on this file since 9743 was 9743, checked in by bless, 13 years ago
  • fixed which command checks
  • Property svn:executable set to *
File size: 623 bytes
Line 
1#! /bin/bash
2
3fail=0
4if [ ! `which aclocal` ]; then
5 echo "aclocal is missing, please install automake first (e.g., sudo apt-get install automake)"
6 fail=1
7fi
8
9if [ ! `which libtoolize` ]; then
10 echo "libtoolize is missing, please install libtool first (e.g., sudo apt-get install libtool)"
11 fail=1
12fi
13
14if [ $fail -eq 1 ]; then
15 echo "** Script aborted due to errors."
16 exit 1;
17fi
18
19echo "Running autotools..."
20
21aclocal \
22&& libtoolize --force \
23&& autoheader \
24&& automake -a --foreign --add-missing \
25&& autoreconf
26
27echo "Done."
28echo "Now type:"
29echo "> ./configure"
30echo "> make"
31echo "> make install"
32
Note: See TracBrowser for help on using the repository browser.