diff --git a/configure.in b/configure.in index 42b73c5..8caf990 100644 --- a/configure.in +++ b/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 diff --git a/src/debug.h b/src/debug.h index 2e3253d..c0f5278 100644 --- a/src/debug.h +++ b/src/debug.h @@ -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);