|
@@ -21,21 +21,22 @@ NAME=ser
|
|
|
# implementation still nasty and reports per-process
|
|
|
# NO_DEBUG turns off some of the debug messages (DBG(...)).
|
|
|
# NO_LOG completely turns of all the logging (and DBG(...))
|
|
|
-# DEBUG compiles in some extra debugging code
|
|
|
+# EXTRA_DEBUG compiles in some extra debugging code
|
|
|
# DNS_IP_HACK faster ip address resolver for ip strings (e.g "127.0.0.1")
|
|
|
# SHM_MEM compiles in shared mem. support, needed by some modules and
|
|
|
# by USE_SHM_MEM
|
|
|
# PKG_MALLOC uses a faster malloc (exclusive w/ USE_SHM_MEM)
|
|
|
# USE_SHM_MEM all pkg_malloc => shm_malloc (most mallocs use a common sh. mem.
|
|
|
# segment); don't define PKG_MALLOC if you want this!
|
|
|
-# DBG_QM_MALLOC - qm_malloc debug code, will cause pkg_malloc and shm_malloc
|
|
|
+# DBG_QM_MALLOC - qm_malloc debug code, will cause pkg_malloc and shm_malloc
|
|
|
# to keep and display lot of debuging information: file name,
|
|
|
# function, line number of malloc/free call for each block,
|
|
|
# extra error checking (trying to free the same pointer
|
|
|
# twice, trying to free a pointer alloc'ed with a different
|
|
|
# malloc etc.)
|
|
|
-DEFS=-DTHREAD -DNOCR -DMACROEATER -DDNS_IP_HACK -DSHM_MEM \
|
|
|
- -DPKG_MALLOC -DDBG_QM_MALLOC #-DNO_DEBUG
|
|
|
+DEFS=-DNOCR -DMACROEATER -DDNS_IP_HACK -DSHM_MEM \
|
|
|
+ -DPKG_MALLOC -DDBG_QM_MALLOC
|
|
|
+#-DEXTRA_DEBUG
|
|
|
# -DUSE_SHM_MEM
|
|
|
#-DNO_DEBUG
|
|
|
#-DPKG_MALLOC
|