pcs 97/08/10 06:32:01
Modified: src/modules/standard mod_auth_dbm.c mod_status.c
Log:
Source re-org: add information required by Configure for this module
Revision Changes Path
1.22 +16 -0 apachen/src/modules/standard/mod_auth_dbm.c
Index: mod_auth_dbm.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_auth_dbm.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- mod_auth_dbm.c 1997/07/28 18:22:52 1.21
+++ mod_auth_dbm.c 1997/08/10 13:31:59 1.22
@@ -71,6 +71,22 @@
#include "http_protocol.h"
#include <ndbm.h>
+/*
+ * Module definition information - the part between the -START and -END
+ * lines below is used by Configure. This could be stored in a separate
+ * instead.
+ *
+ * MODULE-DEFINITION-START
+ * Name: dbm_auth_module
+ * ConfigStart
+ LIBS="$LIBS $DBM_LIB"
+ if [ "X$DBM_LIB" != "X" ]; then
+ echo " + using $DBM_LIB for mod_auth_dbm"
+ fi
+ * ConfigEnd
+ * MODULE-DEFINITION-END
+ */
+
typedef struct {
char *auth_dbmpwfile;
1.59 +15 -0 apachen/src/modules/standard/mod_status.c
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_status.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- mod_status.c 1997/07/28 18:23:05 1.58
+++ mod_status.c 1997/08/10 13:31:59 1.59
@@ -87,6 +87,21 @@
* 21.5.96 Additional Status codes (DNS and LOGGING only enabled if
extended STATUS is enabled) [George Burgyan/Jim J.] */
+/*
+ * Module definition information - the part between the -START and -END
+ * lines below is used by Configure. This could be stored in a separate
+ * instead.
+ *
+ * MODULE-DEFINITION-START
+ * Name: status_module
+ * ConfigStart
+ if [ "$RULE_STATUS" = "yes" ]; then
+ CFLAGS="$CFLAGS -DSTATUS"
+ fi
+ * ConfigEnd
+ * MODULE-DEFINITION-END
+ */
+
#define IS_MODULE
#include "httpd.h"