aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-13 07:44:31 +0000
committerChristian Grothoff <christian@grothoff.org>2016-10-13 07:44:31 +0000
commit9df183774b9b2b4cef897cb4f66240bb8c2198ec (patch)
tree8fa66ca66cd0b803cef007d9ff1f17f268f49f62 /configure.ac
parent4c38f15697b338a770b3d1d499b45b2f009d6bf5 (diff)
fix build for Taler wallet
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6697db2c68..4453acff29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -567,7 +567,14 @@ AC_ARG_ENABLE([taler-wallet],
[taler_only=${enableval}],
[taler_only=no])
AC_MSG_RESULT($taler_only)
-AM_CONDITIONAL([TALER_ONLY], [test "x$taler_only" = "xyes"])
+if test "x$taler_only" = "xyes"
+then
+ AM_CONDITIONAL([TALER_ONLY],true)
+ AC_DEFINE([TALER_WALLET_ONLY],[1],[Compiling for Taler wallet])
+else
+ AM_CONDITIONAL([TALER_ONLY],false)
+ AC_DEFINE([TALER_WALLET_ONLY],[0],[Canonical compilation])
+fi
# test for libextractor
extractor=0