diff options
author | Tristan Matthews <tmatth@videolan.org> | 2017-11-03 22:34:14 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2017-11-03 22:34:14 +0300 |
commit | 243470fb39e8a5712b5d01c3bf5631081a640a0d (patch) | |
tree | a13ecbaff4789578dbc71e347f8586d4edbadb03 | |
parent | 83f96c9c331ceb2a3669e57a61b79992ec966858 (diff) |
configure: add warning if Ogg is missing
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
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], |