diff --git a/configure.ac b/configure.ac index acae553..97721a4 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,7 @@ AC_CHECK_LIB([cryb-test], [t_add_tests]) LIBCRYB_TEST="${LIBS}" LIBS="${save_LIBS}" AC_SUBST(LIBCRYB_TEST) -AM_CONDITIONAL([WITH_TESTS], [test x"${LIBCRYB_TEST}" != x""]) +AM_CONDITIONAL([WITH_CRYB_TEST], [test x"${LIBCRYB_TEST}" != x""]) # options AC_ARG_ENABLE([developer-warnings], diff --git a/t/Makefile.am b/t/Makefile.am index 093e283..7c1d3db 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -1,11 +1,13 @@ AM_CPPFLAGS = -I$(top_srcdir)/lib LIBPSORT = $(top_builddir)/lib/libptsort.a -if WITH_TESTS +if WITH_CRYB_TEST check_PROGRAMS = t_aa t_aa_LDADD = $(LIBPSORT) $(LIBCRYB_TEST) +endif + dist_check_SCRIPTS = t_dp_red.sh ${dist_check_SCRIPTS}: t_subr.sh @@ -15,5 +17,3 @@ EXTRA_DIST = t_dp_red.ti t_dp_red.to TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS) CLEANFILES = t_subr.sh - -endif