diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-10-13 19:26:25 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-10-13 19:26:25 +0200 |
commit | 8bd1b7d467093145febebaab923e9c357cae74af (patch) | |
tree | 4341fa757e14b81201396bc792f4e90ec2b8e088 /configure.ac | |
parent | 2d6cbf8a0bb81bfe55a7d4e04d53a704f93c6b2e (diff) |
Make configure fail if zita-resampler library and header files are not found.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 <zita-resampler/resampler.h>], - [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" |