Allow faster rebuilds in certain cases

Previously, when rebuilding with a different "--prefix" or "--scriptdir",
all Bro source files were recompiled.  With this change, only util.cc
is recompiled.  Instead of specifying command-line preprocessor
macros on all source files, a header file is regenerated when needed
which only util.cc includes.
This commit is contained in:
Daniel Thayer 2012-10-12 16:54:26 -05:00
parent 5e12a53ae5
commit 15033a2b62
3 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,7 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "config.h"
#include "util-config.h"
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>