SUBDIRS += doc
endif
-if !TALER_ONLY
- SUBDIRS += contrib
-endif
+SUBDIRS += contrib
EXTRA_DIST = \
ABOUT-NLS \
AC_CHECK_LIB([kstat],[kstat_open])
-# 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])
-])
-
# test for libextractor
extractor=0
AC_MSG_CHECKING(for libextractor)
])
-AS_IF([test "$taler_only" != yes],[
-
-
# Check for libltdl header (#2999)
ltdl=0
AC_MSG_CHECKING(for libltdl)
LIBS=$SAVE_LIBS
-# end of taler-only being false
-])
-
-
# check for iconv
AM_ICONV
AS_IF([test $HAVE_LIBUNISTRING != yes],
[AC_MSG_ERROR([GNUnet requires libunistring])])
-# under emscripten, $gl_libunistring_hexversion is undefined
-if test "$taler_only" != yes; then
-
AS_IF([test "x$gl_libunistring_hexversion" = "x" || test "$gl_libunistring_hexversion" -le 2305],
[AC_MSG_ERROR([GNUnet requires libunistring >= 0.9.1.1])])
-fi
AC_CHECK_HEADERS([unistr.h],
,
AC_MSG_ERROR([Compiling GNUnet requires unistr.h (from libunistring) to be installed]))
# test for postgres:
postgres=false
-# even running the check for postgres breaks emscripten
-AS_IF([test "$taler_only" != yes],
- [AX_LIB_POSTGRESQL([9.5],
- [CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
- AC_CHECK_HEADERS([libpq-fe.h],
- postgres=true)
- ],
- [AC_MSG_RESULT([no postgres])])])
+AX_LIB_POSTGRESQL([9.5],
+ [CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS"
+ AC_CHECK_HEADERS([libpq-fe.h],
+ postgres=true)
+ ],
+ [AC_MSG_RESULT([no postgres])])
AM_CONDITIONAL(HAVE_POSTGRESQL, test x$postgres = xtrue)
AS_IF([test "x$postgres" = xtrue],
endif
-if TALER_ONLY
-SUBDIRS = \
- include \
- util
-else
-
SUBDIRS = \
include $(INTLEMU_SUBDIRS) \
util \
$(RECLAIM_DIR) \
$(EXP_DIR) \
integration-tests
-
-endif
/**
- * Run the main event loop for the Taler interaction.
+ * Run the main event loop for the HTTP interaction.
*
* @param ctx the library context
* @param rp parses the raw response returned from
block_dns.h \
block_regex.h
-if TALER_ONLY
-gnunetinclude_HEADERS = \
- platform.h gettext.h \
- gnunet_buffer_lib.h \
- gnunet_common.h \
- gnunet_container_lib.h \
- gnunet_crypto_lib.h \
- gnunet_strings_lib.h \
- gnunet_time_lib.h \
- gnunet_util_taler_wallet_lib.h
-else
-
gnunetinclude_HEADERS = \
platform.h gettext.h \
compat.h \
gnunet_tun_lib.h \
gnunet_util_lib.h \
gnunet_vpn_service.h
-
-endif
/**
- * Run the main event loop for the Taler interaction.
+ * Run the main event loop for the HTTP interaction.
*
* @param ctx the library context
* @param rp parses the raw response returned from
+++ /dev/null
-/*
- This file is part of GNUnet
- Copyright (C) 2009, 2015 GNUnet e.V.
-
- GNUnet is free software: you can redistribute it and/or modify it
- under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License,
- or (at your option) any later version.
-
- GNUnet is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- SPDX-License-Identifier: AGPL3.0-or-later
- */
-
-/**
- * @author Christian Grothoff
- *
- * @file
- * Convenience header including all headers of subsystems in
- * gnunet_util_taler_wallet library. Note that (due to the structure of the
- * original headers), not all symbols declared by the included headers are
- * actually included in the gnunet_util_taler_wallet library! The library
- * excludes anything relating to the GNUnet installation location, scheduler,
- * networking or OS-specific logic that would not apply to Apps/Browser
- * extensions.
- */
-
-#ifndef GNUNET_UTIL_TALER_WALLET_LIB_H
-#define GNUNET_UTIL_TALER_WALLET_LIB_H
-
-#ifdef __cplusplus
-extern "C"
-{
-#if 0 /* keep Emacsens' auto-indent happy */
-}
-#endif
-#endif
-
-#include "gnunet_crypto_lib.h"
-#include "gnunet_container_lib.h"
-#include "gnunet_strings_lib.h"
-
-#if 0 /* keep Emacsens' auto-indent happy */
-{
-#endif
-#ifdef __cplusplus
-}
-#endif
-
-#endif
$(GN_LIB_LDFLAGS) \
-version-info 13:2:0
-libgnunetutil_taler_wallet_la_SOURCES = \
- common_allocation.c \
- common_endian.c \
- common_logging.c \
- container_heap.c \
- container_multihashmap.c \
- container_multihashmap32.c \
- crypto_symmetric.c \
- crypto_crc.c \
- crypto_ecc.c \
- crypto_hash.c \
- crypto_hkdf.c \
- crypto_kdf.c \
- crypto_mpi.c \
- crypto_random.c \
- crypto_rsa.c \
- strings.c \
- time.c
-
-libgnunetutil_taler_wallet_la_LIBADD = \
- $(LIBGCRYPT_LIBS) \
- -lunistring
-
-libgnunetutil_taler_wallet_la_LDFLAGS = \
- $(GN_LIB_LDFLAGS) \
- -version-info 0:0:0
-
if HAVE_TESTING
GNUNET_ECC = gnunet-ecc
GNUNET_SCRYPT = gnunet-scrypt
endif
-if TALER_ONLY
-lib_LTLIBRARIES = libgnunetutil_taler_wallet.la
-else
lib_LTLIBRARIES = libgnunetutil.la
libexec_PROGRAMS = \
TESTS = $(check_PROGRAMS)
endif
-endif
-
gnunet_timeout_SOURCES = \
gnunet-timeout.c
}
-#if ! TALER_WALLET_ONLY
/**
* Rotate logs, deleting the oldest log.
*
}
-#endif
-
-
/**
* Utility function - adds a parsed definition to logdefs array.
*
log_file_name = GNUNET_STRINGS_filename_expand (logfile);
if (NULL == log_file_name)
return GNUNET_SYSERR;
-#if TALER_WALLET_ONLY || defined(GNUNET_CULL_LOGGING)
+#if defined(GNUNET_CULL_LOGGING)
/* log file option not allowed for wallet logic */
GNUNET_assert (NULL == logfile);
return GNUNET_OK;
}
vsnprintf (buf, size, message, va);
-#if ! (defined(GNUNET_CULL_LOGGING) || TALER_WALLET_ONLY)
+#if ! defined(GNUNET_CULL_LOGGING)
if (NULL != tmptr)
(void) setup_log_file (tmptr);
#endif