Em 19/08/2006, às 07:55, Mladen Turk escreveu:
Hi, Anyone knows how to detect the mpm used so that module can be build with/without threading code depending if the mpm is prefork or any other threaded one like worker by using apxs?
Why use apxs ? mpm.h: #define WORKER_MPM #define MPM_NAME "Worker"
The only way I can imagine is to parse the stdout from httpd, but IMHO something like apxs -q MPM should do the trick like it does for CFLAGS or INCLUDES. Regards, Mladen.