The mod_fcgid build fails for me due to erroneously detecting
sys/mutex.h when in fact it's not present. This appears to be due to a
copy-and-paste error in build/Makefile.apxs, resolved by the attached
patch.
Cheers, Paul.
--- mod_fcgid-2.3.1/build/Makefile.apxs 2009-08-27 12:33:51.000000000 +0100
+++ mod_fcgid-2.3.1/build/Makefile.apxs 2009-09-23 10:58:14.000000000 +0100
@@ -40,13 +40,13 @@
conftest_foofn: conftest_foofn.lo
$(LINK) conftest_foofn.lo
-conftest_sys_file_h: conftest_sys_mman_h.lo
+conftest_sys_file_h: conftest_sys_file_h.lo
@echo "success" > $@
conftest_sys_mman_h: conftest_sys_mman_h.lo
@echo "success" > $@
-conftest_sys_mutex_h: conftest_sys_mman_h.lo
+conftest_sys_mutex_h: conftest_sys_mutex_h.lo
@echo "success" > $@
conftest_sys_shm_h: conftest_sys_shm_h.lo