summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 10 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 070677c..03a8c31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,8 +87,7 @@ AC_ARG_WITH([test],
AS_IF([test x$with_test == xyes],
[AC_MSG_WARN([*** Building unittests!])
- AM_PATH_CPPUNIT(1.9.6)
- AC_CONFIG_FILES(test/Makefile)]
+ AM_PATH_CPPUNIT(1.9.6)]
)
dnl ======================
@@ -390,16 +389,20 @@ AS_IF([test x$enable_resampler == xauto],
AS_IF([test x$enable_resampler == xzita],
[AS_IF([test x$has_zita == xyes],
- [AC_DEFINE(USE_ZITA, [], [zita-resampler is present])],
-
+ [AC_DEFINE(USE_ZITA, [], [zita-resampler is present])
+ SAMPLERATE_CFLAGS=""
+ SAMPLERATE_LIBS=""
+ ],
[AC_MSG_ERROR([*** zita-resampler library or headers not found. Set ZITA_LDFLAGS or ZITA_CPPFLAGS to add searchpath.])]
)]
)
AS_IF([test x$enable_resampler == xsrc],
[AS_IF([test x$has_src == xyes],
- [AC_DEFINE(USE_SRC, [], [libsamplerate is present])],
-
+ [AC_DEFINE(USE_SRC, [], [libsamplerate is present])
+ ZITA_CPPFLAGS=""
+ ZITA_LIBS=""
+ ],
[AC_MSG_ERROR([*** Missing libsamplerate.])]
)]
)
@@ -538,6 +541,7 @@ AC_CONFIG_FILES(
plugingui/Makefile
include/Makefile
man/Makefile
+ test/Makefile
drumgizmo/Makefile
drumgizmo/input/Makefile
drumgizmo/input/dummy/Makefile