This is the exact term output:
...
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK2... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.8.0)
checking for wxWidgets static library... no
configure: Configuring Code::Blocks...
configure: SVN revision trunk-r3639 (2007-02-23 23:40:54)
configure: creating ./config.status
.infig.status: error: cannot find input file: Makefile
I'm not sure whether this could be the cause or not but your pc has wx-2.8.0 by default. Officially C::B does not support wx-2.8.0.
You can try typing the following command (Based on the solution posted in http://forums.codeblocks.org/index.php?topic=5247.msg40910#msg40910 )-
./configure --enable-contrib --with-wx-config=wx-config-2.6
Don't flame me if that doesn't work. ;)
.infig.status: error: cannot find input file: Makefile
Your files have DOS line endings instead of unix. This is the problem. Did you copy the source code from a windows machine? If yes, it doesn't work that way. Checkout a new copy from svn...