From f2255f1e2a064d85388df10989fd4bdce68dc6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 Sep 2014 15:25:46 +0300 Subject: [PATCH] configure: Do the AM_CONDITIONAL() after finally setting the variable --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5d9c75c246..537b5cbe21 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