merged with 1697 revision of trunk (which is post-rc1 but pre-rc2
[ardour.git] / libs / sigc++2 / 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 srcdir=`dirname $0`
25 test -z "$srcdir" && srcdir=.
26
27 PKG_NAME="sigc++"
28
29 echo "Adding libtools."
30 libtoolize --automake --copy --force
31
32 echo "Building macros."
33 aclocal  -I "$srcdir/scripts" $ACLOCAL_FLAGS
34
35 #echo "Building config header."
36 #autoheader
37
38 echo "Building makefiles."
39 automake --add-missing --copy
40
41 echo "Building configure."
42 autoconf
43
44 rm -f config.cache