dougm 00/06/14 09:07:07
Modified: . 00README_FIRST
src/modules/perl mod_perl.c
Log:
compile w/o USE_ITHREADS
Revision Changes Path
1.10 +1 -4 modperl-2.0/00README_FIRST
Index: 00README_FIRST
===================================================================
RCS file: /home/cvs/modperl-2.0/00README_FIRST,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- 00README_FIRST 2000/05/11 14:58:28 1.9
+++ 00README_FIRST 2000/06/14 16:07:06 1.10
@@ -28,11 +28,8 @@
% perl Makefile.PL MP_USE_DSO=1 && make
-(note the EXTRA_LIBS are needed for my suse-6.1, might be
-different for your platform)
-
% cd ../apache-2.0/src
-% EXTRA_LIBS="-ldl -rdynamic" ./configure --with-mpm=mpmt_pthread ...
+% ./configure --with-mpm=mpmt_pthread ...
% make
as for httpd.conf, mine looks something like so at the moment:
1.19 +8 -2 modperl-2.0/src/modules/perl/mod_perl.c
Index: mod_perl.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/mod_perl.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- mod_perl.c 2000/06/13 21:05:39 1.18
+++ mod_perl.c 2000/06/14 16:07:06 1.19
@@ -59,8 +59,11 @@
}
base_perl = modperl_startup(base_server, p);
+
+#ifdef USE_ITHREADS
modperl_interp_init(base_server, p, base_perl);
MpInterpBASE_On(base_scfg->mip->parent);
+#endif
for (s=base_server->next; s; s=s->next) {
MP_dSCFG(s);
@@ -75,12 +78,13 @@
s->server_hostname);
}
+#ifdef USE_ITHREADS
+
if (!MpSrvENABLED(scfg)) {
scfg->mip = NULL;
continue;
}
-#ifdef USE_ITHREADS
/* if alloc flags is On or clone flag is On,
* virtual host gets its own mip
*/
@@ -102,7 +106,9 @@
*/
scfg->mip = base_scfg->mip;
}
-#endif
+
+#endif /* USE_ITHREADS */
+
}
}