aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: baee6c3e6971398a329e2f0af4a039d506e1e970 (plain) (blame)
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
#!/bin/sh -e

rm -rf config.cache build
mkdir build

# create po/Makefile.in.in
glib-gettextize --force --copy

# add aclocal.m4 to current dir
echo "aclocal..."
aclocal -I m4

# This generates the configure script from configure.in
echo "autoconf..."
autoconf

echo "autoheader..."
autoheader

# Generate Makefile.in from Makefile.am
echo "automake..."
automake --add-missing


# configure
if test x$NOCONFIGURE = x; then
	echo "./configure $*"
	./configure $*
fi