- Debugging mode can now be enabled.
This commit is contained in:
parent
ba27e43018
commit
a2004ec4a9
10
configure.in
10
configure.in
@ -1,6 +1,6 @@
|
||||
AC_INIT(src/main.c)
|
||||
AM_INIT_AUTOMAKE(Scyther, 0.2, ccremers@win.tue.nl)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_CONFIG_HEADER(src/config.h)
|
||||
AC_CONFIG_SRCDIR(src)
|
||||
|
||||
AC_PROG_LIBTOOL
|
||||
@ -32,9 +32,13 @@ LD_LIBRARY_PATH correctly.))
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
AC_HELP_STRING([--enable-debug], [enable debugging mode]),
|
||||
AC_DEFINE(DEBUG,1," compile with debugging support"))
|
||||
echo debugOn
|
||||
AC_DEFINE(DEBUG,[1],[Defined if debugging mode is
|
||||
enabled.]),
|
||||
echo debugOff
|
||||
)
|
||||
|
||||
VERSION="0.0.1"
|
||||
VERSION="0.1.0"
|
||||
SUBDIRS=src
|
||||
|
||||
dnl read Makefile.in's and write Makefiles
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
void debugSet (int level);
|
||||
int debugCond (int level);
|
||||
void debug (int level, char *string);
|
||||
|
Loading…
Reference in New Issue
Block a user