summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2021-06-20 20:15:06 -0700
committerGitHub <noreply@github.com>2021-06-20 20:15:06 -0700
commitb2119f40fd25f1dfee1bcaccbb905174e304f40e (patch)
tree2b68040b34b63304faa5410f6dd717f24a2bc7eb
parentf9d7fbc33aa571c547d916b145712469efd9f4b8 (diff)
parent052bd2a92bf8bcc4b59d04530cf946dd33a2e632 (diff)
Merge pull request #91 from Jason-elkins/master
add test for --enable-as-02 if --enable-phdr is used
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 01c213c..8b1a04a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,7 @@ AC_ARG_ENABLE([asdcp-jxs],
AC_ARG_ENABLE([phdr],
[ --enable-phdr enable support for Prototype for High Dyamic Range in AS-02],
[case "${enableval}" in
- yes) phdr_use=true ;;
+ yes) AS_IF([test x$as_02_use = xtrue], phdr_use=true, AC_MSG_ERROR([--enable-phdr cannot be used without --enable-as-02])) ;;
no) phdr_use=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-phdr]) ;;
esac],[phdr_use=false])