- log
[oweals/gnunet.git] / src / util / Makefile.am
index 3c49c0b65777aab5ea7219d9b4486b966a195d27..5d3f6771cdafbb23dfd06f681183221ab895e393 100644 (file)
@@ -118,7 +118,7 @@ libgnunetutil_la_SOURCES = \
   signal.c \
   strings.c \
   time.c \
-  speedup.c
+  speedup.c speedup.h
 
 libgnunetutil_la_LIBADD = \
   $(GCLIBADD) $(WINLIB) \
@@ -245,6 +245,7 @@ check_PROGRAMS = \
  test_crypto_ecdhe \
  test_crypto_hash \
  test_crypto_hkdf \
+ test_crypto_paillier \
  test_crypto_random \
  test_disk \
  test_getopt \
@@ -278,7 +279,7 @@ check_PROGRAMS = \
  test_common_logging_runtime_loglevels
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif
 
@@ -401,6 +402,7 @@ test_crypto_hkdf_LDADD = \
 test_crypto_paillier_SOURCES = \
  test_crypto_paillier.c
 test_crypto_paillier_LDADD = \
+ -lgcrypt \
  $(top_builddir)/src/util/libgnunetutil.la
 
 test_crypto_random_SOURCES = \