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.
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.