Libgd libjpeg...etc question

hello agaaiiiiiiiiiinnnnnnnnnnnnn
so…i found a problem where i need the libgd ,libpng , libjpeg, zlib

well i dl all the libs, but my problem is
i have to configure ALL the source again or only making

make devclean
./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include

will work ??
or i must to configure ALL again with these options this time
that mean
make all
make install
make etc…

pd: sorry for the newbie questions, but im new in linux world

first: don’t open a new thread if this continues the old one.
I just answered your first thread and now discover you alredy solved your problem.

reconfigure everything, then make only the files you need. you can even make everything and copy by hand the cgis you need.

DO NOT copy the example config files and youy shouldn’t be having any problems.

Luca