1 |
frodo |
116 |
#!/bin/sh |
2 |
|
|
# |
3 |
|
|
# Run this before configure |
4 |
|
|
# |
5 |
frodo |
118 |
# This file blatantly ripped off from subversion and Abiword |
6 |
frodo |
116 |
|
7 |
|
|
set -e |
8 |
|
|
|
9 |
|
|
echo "Libtool..." |
10 |
|
|
libtoolize --copy --force |
11 |
|
|
|
12 |
|
|
# Produce aclocal.m4, so autoconf gets the automake macros it needs |
13 |
|
|
echo "Creating aclocal.m4..." |
14 |
|
|
aclocal |
15 |
|
|
|
16 |
|
|
autoheader |
17 |
|
|
|
18 |
|
|
# Produce all the `Makefile.in's, verbosely, and create neat missing things |
19 |
|
|
# like `libtool', `install-sh', etc. |
20 |
|
|
automake --add-missing --verbose --gnu --copy |
21 |
|
|
|
22 |
|
|
# If there's a config.cache file, we may need to delete it. |
23 |
|
|
# If we have an existing configure script, save a copy for comparison. |
24 |
|
|
if [ -f config.cache ] && [ -f configure ]; then |
25 |
|
|
cp configure configure.$$.tmp |
26 |
|
|
fi |
27 |
|
|
|
28 |
|
|
# Produce ./configure |
29 |
|
|
echo "Creating configure..." |
30 |
|
|
autoconf |
31 |
|
|
|
32 |
|
|
echo "" |
33 |
|
|
echo "You can run ./configure now." |
34 |
|
|
echo "" |
35 |
|
|
|