From 243470fb39e8a5712b5d01c3bf5631081a640a0d Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Fri, 3 Nov 2017 15:34:14 -0400 Subject: configure: add warning if Ogg is missing --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7790653..6188163 100644 --- a/configure.ac +++ b/configure.ac @@ -170,7 +170,8 @@ AC_ARG_ENABLE(binaries, [ --disable-binaries Do not build the encoder and dec AS_IF([test "x$enable_binaries" != "xno"], [ PKG_CHECK_MODULES([OGG], [ogg], AM_CONDITIONAL([BUILD_BINARIES], true), - AM_CONDITIONAL([BUILD_BINARIES], false))], + [AC_MSG_WARN([Ogg not found, not building example programs]) + AM_CONDITIONAL([BUILD_BINARIES], false)])], [AM_CONDITIONAL([BUILD_BINARIES], false)]) AC_ARG_ENABLE(vbr, [ --disable-vbr Disable VBR and VAD from the codec], -- cgit v1.2.3