blob: 07a4ba9daae6cd6bc8fd5615ff24e239c4c6f0cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh -ex
#
# A bootstrapping script that can be used to generate the autoconf,
# automake and libtool-related scripts of the build process.
#
# $Id: autogen.sh,v 1.2 2004/08/10 13:57:46 gkeramidas Exp $
trap "/bin/rm -fr autom4te.cache ; \
echo 'Failed to regenerate autoconf/automake stuff.'" 0 1 2 15
set -x
set -e
rm -fr autom4te.cache
libtoolize --force
aclocal -I .
autoheader
automake -a -c --foreign --force
libtoolize --force
autoconf
rm -fr autom4te.cache
set +e
trap "echo $0 ok" 0 1 2 15
|