aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cb393c829..6d7f43755 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,6 +112,7 @@ if test "$card_support" = yes ; then
AC_DEFINE(ENABLE_CARD_SUPPORT,1,
[Define to include the OpenPGP card support])
fi
+AM_CONDITIONAL(ENABLE_CARD_SUPPORT, test "$card_support" = yes)
dnl See if we are disabling any algorithms or features for a smaller
dnl binary
@@ -309,6 +310,10 @@ AH_BOTTOM([
#define EXEC_TEMPFILE_ONLY
#endif
+/* This is the major version number of GnuPG so that
+ source included files can test for this. */
+#define GNUPG_MAJOR_VERSION 1
+
#include "g10defs.h"
])