configure: Do the AM_CONDITIONAL() after finally setting the variable
This commit is contained in:
parent
c82fa4f845
commit
f2255f1e2a
@ -513,7 +513,6 @@ if test "x$HAVE_IOS" = "xyes"; then
|
|||||||
AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS])
|
AC_DEFINE(HAVE_IOS, 1, [Define if building for Apple iOS])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(HAVE_VIDEOTOOLBOX, test "x$HAVE_VIDEOTOOLBOX" = "xyes")
|
|
||||||
if test "x$HAVE_IOS" = "xyes"; then
|
if test "x$HAVE_IOS" = "xyes"; then
|
||||||
AC_MSG_CHECKING([Checking for __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0])
|
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"
|
HAVE_VIDEOTOOLBOX="no"
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL(HAVE_VIDEOTOOLBOX, test "x$HAVE_VIDEOTOOLBOX" = "xyes")
|
||||||
if test "x$HAVE_VIDEOTOOLBOX" = "xyes"; then
|
if test "x$HAVE_VIDEOTOOLBOX" = "xyes"; then
|
||||||
AC_DEFINE(HAVE_VIDEOTOOLBOX, 1, [Define if building with VideoToolbox])
|
AC_DEFINE(HAVE_VIDEOTOOLBOX, 1, [Define if building with VideoToolbox])
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user