Merged with trunk R1612.
[ardour.git] / libs / glibmm2 / autogen.sh
1 #! /bin/sh
2
3 # check all tools first
4
5 if /usr/bin/which libtoolize >/dev/null 2>&1 ; then 
6     : 
7 else 
8     echo "You do not have libtool installed, which is very sadly required to build part of Ardour" 
9     exit 1
10 fi
11 if /usr/bin/which automake >/dev/null 2>&1 ; then 
12     : 
13 else 
14     echo "You do not have automake installed, which is very sadly required to build part of Ardour" 
15     exit 1
16 fi
17 if /usr/bin/which autoconf >/dev/null 2>&1 ; then 
18     : 
19 else 
20     echo "You do not have autoconf installed, which is very sadly required to build part of Ardour" 
21     exit 1
22 fi
23
24
25 srcdir=`dirname $0`
26 test -z "$srcdir" && srcdir=.
27
28 echo "Adding libtools."
29 libtoolize --automake --copy --force
30
31 echo "Building macros."
32 aclocal  -I "$srcdir/scripts" $ACLOCAL_FLAGS
33
34 echo "Building makefiles."
35 automake --add-missing --copy
36
37 echo "Building configure."
38 autoconf
39
40 rm -f config.cache