Browse code

- Added -D flag to allow forking of snmp agent (WITH_SNMP_MOD)

ric authored on 28/08/2002 19:01:24
Showing 1 changed files
... ...
@@ -91,6 +91,10 @@ INSTALL-MAN = $(INSTALL) -m 644
91 91
 #		if enabled, To-header-field will be less liberal and will not accept
92 92
 #		'tag=' (tag parameter with equal sign and without value); it is called
93 93
 #		this way because such message was sighted from a Pingtel phone
94
+# -DWITH_SNMP_MOD
95
+#  		if enabled, allows forking of the snmp agent just before child
96
+#  		forking (done at the top of main_loop). Needed if you want
97
+#  		to use the snmp module.
94 98
 
95 99
 DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
96 100
 	 -DOS='"$(OS)"' -DCOMPILER='"$(CC_VER)"'\
... ...
@@ -110,6 +114,7 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
110 114
 	 #-DEXTRA_DEBUG 
111 115
 	 #-DUSE_SHM_MEM
112 116
 	 #-DSTATS 
117
+	 #-DWITH_SNMP_MOD \
113 118
 	 #-DNO_LOG
114 119
 
115 120
 #PROFILE=  -pg #set this if you want profiling
... ...
@@ -401,4 +406,3 @@ endif
401 406
 ifneq (,$(findstring CYGWIN, $(OS)))
402 407
 	#cygwin is the same as common
403 408
 endif
404
-