Update of /cvsroot/blob/blob
In directory usw-pr-cvs1:/tmp/cvs-serv27890
Modified Files:
configure.in
Log Message:
- added debugging functions compile time option
Index: configure.in
===================================================================
RCS file: /cvsroot/blob/blob/configure.in,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- configure.in 2001/10/04 12:42:12 1.12
+++ configure.in 2001/10/04 14:47:34 1.13
@@ -176,7 +176,12 @@
[chkmem_flag=$enable_memtest],
[chkmem_flag=no])
+AC_ARG_ENABLE(debug,
+[ --enable-debug Enable support for misc debugging functions ],
+[debug_flag=$enable_debug],
+[debug_flag=no])
+
dnl Check if the user wants *all* features
AC_ARG_ENABLE(all-features,
[ --enable-all-features Enable all features],
@@ -186,6 +191,7 @@
if test "x$all_features_flag" = "xyes" ; then
clock_scaling_flag=yes
chkmem_flag=yes
+ debug_flag=yes
fi
@@ -213,6 +219,13 @@
AC_SUBST(CHKMEM)
+dnl Check wether or not debug code is wanted
+if test "x$debug_flag" = "xyes" ; then
+ DEBUG="debug.o"
+fi
+
+AC_SUBST(DEBUG)
+
@@ -291,5 +304,6 @@
echo "Objcopy flags ${OCFLAGS}"
echo "Clock scaling support ${clock_scaling_flag}"
echo "Memory test support ${chkmem_flag}"
+echo "Debugging commands support ${debug_flag}"
echo "Run-time debug information ${blob_debug_flag}"
echo ""
|