aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 4c02b8af463ab88e6035d09fd582d2daf12dc9b4 (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
31
#! /bin/sh

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

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

# rerun libtoolize
echo "libtoolize..."
libtoolize --force

# 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