aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 8c02d61ae60d1dc5c444e76f75d6efabb3258545 (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 $PWD/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