* README, configure.ac: Add --enable-backsigs to enable the experimental
[gnupg.git] / configure.ac
index d51e450..e9c0fac 100644 (file)
@@ -131,6 +131,12 @@ AC_ARG_ENABLE(gnupg-iconv,
               gnupg_use_iconv=$enableval, gnupg_use_iconv=yes)
 AC_MSG_RESULT($gnupg_use_iconv)
 
+AC_MSG_CHECKING([whether to enable the experimental backsigs code])
+AC_ARG_ENABLE(backsigs,
+              AC_HELP_STRING([--enable-backsigs],
+                             [enable the experimental backsigs code]),
+              do_backsigs=$enableval, do_backsigs=no)
+AC_MSG_RESULT($do_backsigs)
 
 dnl See if we are disabling any algorithms or features for a smaller
 dnl binary
@@ -751,6 +757,9 @@ if test "$gnupg_use_iconv" = yes ; then
   AC_DEFINE(USE_GNUPG_ICONV,1,[Define to use the new iconv based code])
 fi
 
+if test "$do_backsigs" = yes ; then
+  AC_DEFINE(DO_BACKSIGS,1,[Define to enable the experimental backsigs code])
+fi
 
 AM_CONDITIONAL(ENABLE_CARD_SUPPORT, test "$card_support" = yes)