look at this script:
gcc -O0 -g -DVERSION=\"1.\"1 -shared -o libproxychains.so libproxychains.c core.c
gcc -O0 -g -DVERSION=\"1.\"1 -o proxychains main.c
cp ./libproxychains.so /usr/lib
cp ./proxychains /usr/bin
I saw this idea at one forum (but now i don't remember where,and cannot find it ) - this is just compiling without any automake at all
I got it! That small script compiled proxychains for me greatly, may be it will help you too?