SimDist/build
diff -N slic.m4
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ slic.m4 14 Aug 2012 19:12:26 -0000 1.1
@@ -0,0 +1,20 @@
+dnl Enable or disable slic logging system.
+AC_DEFUN(SLIC_ENABLE_LOG, [
+
+ AC_MSG_CHECKING(whether to enable SLIC logging system)
+
+ AC_ARG_ENABLE([slic-log],
+ AC_HELP_STRING([--enable-slic-log],
+ [Enable or disable SLIC logging system])
+ )
+
+ dnl echo "enable_slic_log=$enable_slic_log"
+
+ if test "${enable_slic_log}" != "no"; then
+ AC_MSG_RESULT(yes)
+ else
+ dnl Logging is enabled by default so only add to options if disabling.
+ SLIC_CONFIG_OPTS="$SLIC_CONFIG_OPTS --disable-log"
+ AC_MSG_RESULT(no)
+ fi
+])