in lib/custom.h) are now stored in config.mk to make them available to both
makefiles (conditional linking etc.) and C programs (lib/autoconf.h is
generated from config.mk by a simple shell script).
This gives an easy way how to create special-purpose modules (like the
SQL gatherer) which need extra libraries -- just make them a compile-time
option ;)
/* Custom configuration */
+#include "lib/autoconf.h"
#include "lib/custom.h"
/* Version */
#define SHER_VER "2.2a" SHER_SUFFIX
-/* CPU characteristics */
-
-#define CPU_I386
-#define CPU_LITTLE_ENDIAN
-#undef CPU_BIG_ENDIAN
-#define CPU_ALLOW_UNALIGNED
-#define CPU_STRUCT_ALIGN 4
-#undef CPU_64BIT_POINTERS
-
-/* OS characteristics */
-
-#define CONFIG_LINUX
-
/* Paths */
#define DEFAULT_CONFIG "cf/sherlock"