]> code.citadel.org Git - citadel.git/blobdiff - webcit/mk_module_init.sh
* hook init function calls to the same define
[citadel.git] / webcit / mk_module_init.sh
index bf38637b306bfa4b3e51ebceeb1e10c7010ded9d..4f58db1e395a29983611314ef6df8d41520fd233 100755 (executable)
@@ -108,7 +108,9 @@ for HOOK in $INIT_FUNCS; do
 HOOKNAME=`echo $HOOK |sed "s;InitModule_;;"`
 # Add this entry point to the .c file
 cat <<EOF >> $C_FILE
+#ifdef DBG_PRINNT_HOOKS_AT_START
        lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+#endif
        $HOOK();
 EOF
 # Add this entry point to the .h file