Can't use thread configure

Hi!
Hello everyone!
i install root before, and now i need thread support. so i did as what the “How to Use the ROOT TThread Class”:

./configure linuxdeb2 --with-thread=/usr/lib/libpthread.so ,
Return:
Configuring for linuxdeb2
Invalid option ‘–with-thread=/usr/lib/libpthread.so’. Try ./configure --help
but i can find --with-thread=/usr/lib/libpthread.so . and when i input:
./configure depend
return:
Invalid architecture. Try ./configure --help
Could there someone help me ?
Thanks!

The syntax is
–with-thread-libdir=/usr…

Rene