Hi,
i am trying to build CodeBlocks on Snow Leopard according to the wiki artiklehttp://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X (http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Mac_OS_X).
I was able to build the wxwidgets library an can compile the samplers.
Bootstrap and configure for codeblocks worked fine. 
But make ends up with this error:
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
 
			
			
			
				Yes,i did a
ACLOCAL_FLAGS="-I /usr/share/aclocal" ./bootstrap
  as mentioned in the wiki, which ended without an error.
			
			
			
				I had this same problem.  The issue was that adding /usr/share/aclocal to ACLOCAL_FLAGS brings in some unwanted cruft.  Copy /usr/share/aclocal/wxwin.m4 to your Code::Blocks source directory and run bootstrap like this:
ACLOCAL_FLAGS="-I ." ./bootstrap
Hopefully this will help someone out.