1 | #!/bin/sh |
1 | #!/bin/sh |
2 | # |
2 | # |
3 | # Run this before configure |
3 | # Run this before configure |
4 | # |
4 | # |
5 | # This file blatantly ripped off from subversion. |
5 | # This file blatantly ripped off from subversion and Abiword |
6 | # |
|
|
7 | # Note: this dependency on Perl is fine: only SVN developers use autogen.sh |
|
|
8 | # and we can state that dev people need Perl on their machine |
|
|
9 | # |
|
|
10 | |
6 | |
11 | set -e |
7 | set -e |
12 | |
8 | |
13 | echo "Libtool..." |
9 | echo "Libtool..." |
14 | libtoolize --copy --force |
10 | libtoolize --copy --force |
… | |
… | |
19 | |
15 | |
20 | autoheader |
16 | autoheader |
21 | |
17 | |
22 | # Produce all the `Makefile.in's, verbosely, and create neat missing things |
18 | # Produce all the `Makefile.in's, verbosely, and create neat missing things |
23 | # like `libtool', `install-sh', etc. |
19 | # like `libtool', `install-sh', etc. |
24 | automake --add-missing --verbose --gnu --copy |
20 | automake --add-missing --verbose --gnu --copy --force-missing |
25 | |
21 | |
26 | # If there's a config.cache file, we may need to delete it. |
22 | # If there's a config.cache file, we may need to delete it. |
27 | # If we have an existing configure script, save a copy for comparison. |
23 | # If we have an existing configure script, save a copy for comparison. |
28 | if [ -f config.cache ] && [ -f configure ]; then |
24 | if [ -f config.cache ] && [ -f configure ]; then |
29 | cp configure configure.$$.tmp |
25 | cp configure configure.$$.tmp |