File: autogen.sh

package info (click to toggle)
ardour 1%3A2.8.16%2Bgit20131003%2Bdfsg1-1~deb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 38,152 kB
  • ctags: 46,603
  • sloc: cpp: 184,702; ansic: 25,000; xml: 11,906; python: 5,208; sh: 3,145; perl: 1,645; ruby: 765; asm: 740; makefile: 585; csh: 3
file content (46 lines) | stat: -rwxr-xr-x 989 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#! /bin/sh

# check all tools first

LIBTOOLIZE=libtoolize

if /usr/bin/which libtoolize >/dev/null 2>&1 ; then 
    : 
else 
    if /usr/bin/which glibtoolize >/dev/null 2>&1 ; then
	LIBTOOLIZE=glibtoolize
    else
	echo "You do not have libtool installed, which is very sadly required to build part of Ardour" 
	exit 1
    fi
fi
if /usr/bin/which automake >/dev/null 2>&1 ; then 
    : 
else 
    echo "You do not have automake installed, which is very sadly required to build part of Ardour" 
    exit 1
fi
if /usr/bin/which autoconf >/dev/null 2>&1 ; then 
    : 
else 
    echo "You do not have autoconf installed, which is very sadly required to build part of Ardour" 
    exit 1
fi


srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

echo "Adding libtools."
$LIBTOOLIZE --automake --copy --force

echo "Building macros."
aclocal  -I "$srcdir/scripts" $ACLOCAL_FLAGS

echo "Building makefiles."
automake --add-missing --copy

echo "Building configure."
autoconf

rm -f config.cache