Make inclusion of tcl_bx.h unconditional
There's no need for the conditional compilation - tcl_bx.h itself has the WANT_TCL guards necessary. This makes generating the Makefile target dependencies easier.
This commit is contained in:
@@ -410,7 +410,8 @@ commands.o: commands.c ../include/irc.h ../include/defs.h \
|
||||
../include/list.h ../include/userlist.h ../include/misc.h \
|
||||
../include/alist.h ../include/tcl_bx.h ../include/hash2.h \
|
||||
../include/whowas.h ../include/cset.h ../include/notice.h \
|
||||
../include/translat.h ../include/modval.h ../include/module.h
|
||||
../include/module.h ../include/translat.h ../include/modval.h \
|
||||
../include/module.h
|
||||
compat.o: compat.c ../include/irc_std.h ../include/defs.h
|
||||
cset.o: cset.c ../include/irc.h ../include/defs.h ../include/config.h \
|
||||
../include/../.config.h ../include/bsdglob.h ../include/irc_std.h \
|
||||
@@ -997,7 +998,7 @@ tcl.o: tcl.c ../include/irc.h ../include/defs.h ../include/config.h \
|
||||
../include/alias.h ../include/queue.h ../include/timer.h \
|
||||
../include/list.h ../include/userlist.h ../include/misc.h \
|
||||
../include/whowas.h ../include/hash2.h ../include/whowas.h \
|
||||
../include/modval.h ../include/module.h ../include/tcl_bx.h
|
||||
../include/tcl_bx.h ../include/modval.h ../include/module.h
|
||||
tcl_public.o: tcl_public.c ../include/irc.h ../include/defs.h \
|
||||
../include/config.h ../include/../.config.h ../include/bsdglob.h \
|
||||
../include/irc_std.h ../include/debug.h ../include/newio.h \
|
||||
|
||||
@@ -45,10 +45,7 @@ CVS_REVISION(ctcp_c)
|
||||
#include "misc.h"
|
||||
#include "userlist.h"
|
||||
#include "hash2.h"
|
||||
|
||||
#ifdef WANT_TCL
|
||||
#include "tcl_bx.h"
|
||||
#endif
|
||||
|
||||
#define MAIN_SOURCE
|
||||
#include "modval.h"
|
||||
|
||||
@@ -26,9 +26,7 @@ CVS_REVISION(hook_c)
|
||||
#include "parse.h"
|
||||
#include "misc.h"
|
||||
#include "stack.h"
|
||||
#ifdef WANT_TCL
|
||||
#include "tcl_bx.h"
|
||||
#endif
|
||||
#define MAIN_SOURCE
|
||||
#include "modval.h"
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "who.h"
|
||||
#include "whowas.h"
|
||||
#include "hash2.h"
|
||||
#include "tcl_bx.h"
|
||||
#define MAIN_SOURCE
|
||||
#include "modval.h"
|
||||
|
||||
@@ -50,8 +51,6 @@
|
||||
char tcl_versionstr[] = "Tcl 2.1";
|
||||
|
||||
#ifdef WANT_TCL
|
||||
/*#define TCL_PLUS*/
|
||||
#include "tcl_bx.h"
|
||||
|
||||
Tcl_HashTable *gethashtable (int, int *, char *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user