* src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be defined.
@@ -1,5 +1,8 @@
2006-10-26 Marcus Brinkmann <marcus@g10code.de>
+ * src/settings.h: Require VERSION_MAJOR and VERSION_MINOR to be
+ defined.
+
* src/p11-getinfo.c (CRYPTOKI_VERSION_MAJOR,
CRYPTOKI_VERSION_MINOR): Move macros to ...
* src/cryptoki.h (CRYPTOKI_VERSION_MAJOR, CRYPTOKI_VERSION_MINOR):
@@ -44,9 +44,7 @@
/* The version number of this library. Defined by config.h. */
#if (! defined VERSION_MAJOR) || (! defined VERSION_MINOR)
-// #error Define VERSION_MAJOR and VERSION_MINOR in config.h.
-#define VERSION_MAJOR 0
-#define VERSION_MINOR 0
+#error Define VERSION_MAJOR and VERSION_MINOR in config.h.
#endif
/* FIXME: The following should be queried from SCD, really. */