Upstream-Status: Pending

--- ./tests/Makefile.am.orig	2021-03-23 11:45:12.756371739 -0400
+++ ./tests/Makefile.am	2021-03-23 19:29:19.692180793 -0400
@@ -1,21 +1,21 @@
 AM_CPPFLAGS = -I $(top_srcdir)
-noinst_PROGRAMS = bench
+bin_PROGRAMS = bench@PREC_SUFFIX@
 EXTRA_DIST = check.pl README
 
 if THREADS
-bench_CFLAGS = $(PTHREAD_CFLAGS)
+bench@PREC_SUFFIX@_CFLAGS = $(PTHREAD_CFLAGS)
 if !COMBINED_THREADS
 LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
 endif
 else
 if OPENMP
-bench_CFLAGS = $(OPENMP_CFLAGS)
+bench@PREC_SUFFIX@_CFLAGS = $(OPENMP_CFLAGS)
 LIBFFTWTHREADS = $(top_builddir)/threads/libfftw3@PREC_SUFFIX@_omp.la
 endif
 endif
 
-bench_SOURCES = bench.c hook.c fftw-bench.c fftw-bench.h
-bench_LDADD = $(LIBFFTWTHREADS)				\
+bench@PREC_SUFFIX@_SOURCES = bench.c hook.c fftw-bench.c fftw-bench.h
+bench@PREC_SUFFIX@_LDADD = $(LIBFFTWTHREADS)				\
 $(top_builddir)/libfftw3@PREC_SUFFIX@.la		\
 $(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
 
--- ./tools/Makefile.am.orig	2021-03-24 08:22:31.845581620 -0400
+++ ./tools/Makefile.am	2021-03-24 08:24:26.454053573 -0400
@@ -24,7 +24,7 @@
 endif
 
 fftw@PREC_SUFFIX@_wisdom_SOURCES = fftw-wisdom.c
-fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench-bench.o	\
-$(top_builddir)/tests/bench-fftw-bench.o $(LIBFFTWTHREADS)	\
+fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench@PREC_SUFFIX@-bench.o	\
+$(top_builddir)/tests/bench@PREC_SUFFIX@-fftw-bench.o $(LIBFFTWTHREADS)	\
 $(top_builddir)/libfftw3@PREC_SUFFIX@.la			\
 $(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
