summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])