summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-09-15 15:25:46 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-09-15 15:25:46 +0300
commitf2255f1e2a064d85388df10989fd4bdce68dc6aa (patch)
treed38ac35975aef67fc2a12a625d06b7681dd60220 /configure.ac
parentc82fa4f845fb6140b90177186fa87fe4cd9a1411 (diff)
downloadgstreamer-plugins-bad-f2255f1e2a064d85388df10989fd4bdce68dc6aa.tar.gz
configure: Do the AM_CONDITIONAL() after finally setting the variable
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5d9c75c24..537b5cbe2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -513,7 +513,6 @@ if test "x$HAVE_IOS" = "xyes"; then
AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS])
fi
-AM_CONDITIONAL(HAVE_VIDEOTOOLBOX, test "x$HAVE_VIDEOTOOLBOX" = "xyes")
if test "x$HAVE_IOS" = "xyes"; then
AC_MSG_CHECKING([Checking for __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0])
@@ -527,6 +526,8 @@ if test "x$HAVE_IOS" = "xyes"; then
HAVE_VIDEOTOOLBOX="no"
])
fi
+
+AM_CONDITIONAL(HAVE_VIDEOTOOLBOX, test "x$HAVE_VIDEOTOOLBOX" = "xyes")
if test "x$HAVE_VIDEOTOOLBOX" = "xyes"; then
AC_DEFINE(HAVE_VIDEOTOOLBOX, 1, [Define if building with VideoToolbox])
fi