Running

./configure --with-pthreads

has to be some legacy stuff.
Do not worry about unrecognized option therefore.
Please checkout link https://sourceforge.net/p/log4cpp/feature-requests/33/
where this question was already answered.

BTW, running

man gcc | grep pthread

gives:

-pthread
           Adds support for multithreading with the pthreads library.  This option sets flags for both the preprocessor and linker.

liblog4cpp.so is ready to be linked as a part of multithreaded application as soon as you link the target application with libpthread.so
And it must be built ok on centos 6.2.