test: do not LoadModule log_config_module unconditionally
LoadModule directive for log_config_module will not work if the module is built-in. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Mar 11, 2009 at 12:47 UTC
7d59ceed9d1e4f8f0dc52cebf55219d6d395c9da
1 file changed
+3
-1
t/lib-httpd/apache.conf
+3
-1
@@ -4,7 +4,9 @@ DocumentRoot www
4
LogFormat "%h %l %u %t \"%r\" %>s %b" common
5
CustomLog access.log common
6
ErrorLog error.log
7
-LoadModule log_config_module modules/mod_log_config.so
7
+<IfModule !mod_log_config.c>
8
+ LoadModule log_config_module modules/mod_log_config.so
9
+</IfModule>
10
11
<IfDefine Darwin>
12
LoadModule log_config_module modules/mod_log_config.so