iqa: Move AM_CONDITIONAL(HAVE_DSSIM) outside of the iqa check block

or else configure fails with

  error: conditional "HAVE_DSSIM" was never defined.

when iqa is not installed.

https://bugzilla.gnome.org/show_bug.cgi?id=777652
This commit is contained in:
Lars Wendler 2017-01-20 07:45:43 +01:00 committed by Sebastian Dröge
parent cea4346d84
commit a68f961908

View file

@ -359,13 +359,13 @@ AG_GST_CHECK_FEATURE(IQA, [iqa], iqa , [
HAVE_IQA="no"
])
AM_CONDITIONAL(HAVE_DSSIM, test "x$HAVE_DSSIM" = "xyes")
if test "x$HAVE_DSSIM" = "xyes"; then
AC_DEFINE(HAVE_DSSIM, 1, [Define if you have dssim library])
fi
AC_SUBST(DSSIM_LIBS)
AC_SUBST(DSSIM_CFLAGS)
])
AM_CONDITIONAL(HAVE_DSSIM, test "x$HAVE_DSSIM" = "xyes")
dnl Orc
ORC_CHECK([0.4.17])