From a37de2ae06c373f445246f22758381fe1c1ea853 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Tue, 17 Apr 2001 22:08:23 +0200
Subject: [PATCH] * testsuite/Makefile.am (CFLAGS): Disable optimization. Add
 $(top_srcdir) to the include path. (EXTRA_DIST): Added testutils.h,
 testutils.c and run-tests. (run-tests): Fixed path to run-tests.

Rev: src/nettle/testsuite/Makefile.am:1.2
---
 testsuite/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index d512a932..c818c46f 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -1,10 +1,12 @@
+CFLAGS = -I$(top_srcdir) @CFLAGS@ -O0
+CPPFLAGS = @CPPFLAGS@
 
 TS_PROGS = aes-test arcfour-test md5-test
 
 noinst_PROGRAMS = $(TS_PROGS)
 
 LDADD = testutils.o ../libnettle.a
-EXTRA_DIST = macros.h $(SOURCES:.c=.m4)
+EXTRA_DIST = $(SOURCES:.c=.m4) testutils.c testutils.h run-tests
 
 M4FLAGS = -P -s
 %.c: macros.m4 %.m4
@@ -16,5 +18,5 @@ M4FLAGS = -P -s
 check: run-tests
 
 run-tests: $(TS_PROGS)
-	./run-tests $^
+	$(srcdir)/run-tests $^
 
-- 
GitLab