aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: e93a00eea06809625536296da54900ce9bfa3ae2 (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
30
#!/bin/sh -e

# Generate config.h.in
echo "touch stamp-h"
touch stamp-h

# 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