-# should the build process be restricted to the code required
-# for GNU Taler wallets?
-AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY)
-AC_ARG_ENABLE([taler-wallet],
- [AS_HELP_STRING([--enable-taler-wallet], [only compile for Taler wallet])],
- [taler_only=${enableval}],
- [taler_only=no])
-AC_MSG_RESULT($taler_only)
-AS_IF([test "x$taler_only" = "xyes"],
-[
- AM_CONDITIONAL([TALER_ONLY],true)
- AC_DEFINE([TALER_WALLET_ONLY],[1],[Compiling for Taler wallet])
-],[
- AM_CONDITIONAL([TALER_ONLY],false)
- AC_DEFINE([TALER_WALLET_ONLY],[0],[Canonical compilation])
-])
+AS_IF([test x$libsodium = x0],
+ [AC_MSG_ERROR([GNUnet requires libsodium.])])