aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2000-08-27 23:16:18 +0000
committerFritz Elfert <felfert@to.com>2000-08-27 23:16:18 +0000
commitd90b08c09fd00001d48567913fdd308cbe9a7ecd (patch)
tree93e011d19d71ac66390285cb5d745bd7afee4961 /acconfig.h
parentbb41226498847526d20f8ffc5641538562a16867 (diff)
downloadplptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.tar.gz
plptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.tar.bz2
plptools-d90b08c09fd00001d48567913fdd308cbe9a7ecd.zip
Added debug config option and modified an assert in Enum.h
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h
index 5ac67c2..d9c7cb1 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -42,7 +42,11 @@
/* Define this to your default mountpoint for plpnfsd */
#undef DMOUNTPOINT
+/* Define this to enable debugging code */
+#undef DEBUG
+
@BOTTOM@
+
/* Some reasonable defaults */
#ifndef PSIONHOSTNAME
@@ -56,5 +60,10 @@
# define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
#endif
+/* Disable assert macro if DEBUG is not defined */
+#ifndef DEBUG
+# define NDEBUG
+#endif
+
#endif /* _CONFIG_H_ */