From 8bd1b7d467093145febebaab923e9c357cae74af Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 13 Oct 2019 19:26:25 +0200 Subject: Make configure fail if zita-resampler library and header files are not found. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5d8652a..19adae5 100644 --- a/configure.ac +++ b/configure.ac @@ -589,7 +589,7 @@ LDFLAGS="$ZITA_LDFLAGS" LIBS="-lzita-resampler -lpthread" AC_LINK_IFELSE( [AC_LANG_PROGRAM([#include ], - [Resampler r] ) ], has_zita=yes, has_zita=no) + [Resampler r] ) ], , AC_MSG_ERROR([*** zita-resampler library not found!])) ZITA_CPPFLAGS="$CXXFLAGS $CPPFLAGS $CFLAGS" ZITA_LIBS="$LDFLAGS $LIBS" CXXFLAGS="$tmp_CXXFLAGS" -- cgit v1.2.3