3 |
# helps bootstrapping M4, when checked out from CVS |
# helps bootstrapping M4, when checked out from CVS |
4 |
# requires GNU autoconf, GNU automake and GNU libtool |
# requires GNU autoconf, GNU automake and GNU libtool |
5 |
|
|
6 |
find . -name autom4te.cache | xargs rm -r |
find . -name autom4te.cache | xargs rm -rf |
7 |
|
|
8 |
auxdir=`grep '^AC_CONFIG_AUX_DIR' configure.in | sed 's/^.*(\([^)]*\)).*$/\1/'` |
auxdir=`grep '^AC_CONFIG_AUX_DIR' configure.in | sed 's/^.*(\([^)]*\)).*$/\1/'` |
9 |
|
|
10 |
rm -f config.cache |
rm -f config.cache |
11 |
rm aclocal.m4 |
rm aclocal.m4 |
12 |
|
|
13 |
|
trap 'rm -f aclocal.m4t' 0 1 9 15 |
14 |
|
|
15 |
# Make a copy of each Automake/Gettext m4 file we need. |
# Make a copy of each Automake/Gettext m4 file we need. |
16 |
aclocal_libdir=`aclocal --print-ac-dir` |
aclocal_libdir=`aclocal --print-ac-dir` |
17 |
for i in `make -f config/Makefile.am spy SPIED=ACLOCAL_MACROS` |
for i in `make -f config/Makefile.am spy SPIED=ACLOCAL_MACROS` |