It's a known issue, and I already have a(different) patch in my working-copy.
See also this topic: http://forums.codeblocks.org/index.php/topic,11808.msg80123.html#msg80123 (http://forums.codeblocks.org/index.php/topic,11808.msg80123.html#msg80123).
I did not (yet) apply it, because there have not been any responses except from the one posted by KirkD.
Here is the patch as I use it actually on my system:
Index: bootstrap
===================================================================
--- bootstrap (revision 6066)
+++ bootstrap (working copy)
@@ -42,12 +42,12 @@
exit 1;
fi
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.[0-6](\.[0-9]+)?$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.[0-6](\.[0-9]+)?\>'`"; then
echo "Automake 1.7 or above is required. Aborting build...";
exit 1;
fi
-if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '1\.7(\.[0-9]+)?$|1\.8(\.[0-9]+)?$'`"; then
+if test -n "`$AUTOMAKE --version 2>&1|head -n 1|egrep '\<1\.7(\.[0-9]+)?|\<1\.8(\.[0-9]+)?'`"; then
echo "make dist only supported with automake 1.9 or above" >&2;
fi
It would be nice, if you can test it.
Still broken:
obfuscated@xlad ~/projects/codeblocks/dev/trunk1 $ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
am-wrapper: /usr/bin/aclocal-1.9 is missing or not executable.
Please try emerging the correct version of automake.
But I have automake 1.10.3 and 1.11.1
# eix automake
[I] sys-devel/automake
Available versions:
(1.4) 1.4_p6-r1
(1.5) 1.5-r1
(1.6) 1.6.3-r1
(1.7) 1.7.9-r2
(1.8) 1.8.5-r4
(1.9) 1.9.6-r3
(1.10) 1.10.3
(1.11) 1.11.1
(9999) **9999
Installed versions: 1.10.3(1.10)(10:25:19 AM 03/07/2011) 1.11.1(1.11)(09:42:07 AM 03/07/2011)
Homepage: http://sources.redhat.com/automake/
Description: Used to generate Makefile.in from Makefile.am
Gentoo linux amd64 bit.
If I install automake 1.9 it works