From: Edward Hervey Date: Wed, 3 Jan 2018 07:47:58 +0000 (+0100) Subject: configure: Fix build without gl plugins X-Git-Tag: 1.19.3~511^2~1961 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a017f58c4bf1a9c4976793c727773bf15b62a7a;p=platform%2Fupstream%2Fgstreamer.git configure: Fix build without gl plugins The AM_CONDITIONAL always need to be evaluated, regardless of whether we are building with or without gl plugins (the actual checks are only called in AG_GST_GL_PLUGIN_CHECKS). --- diff --git a/configure.ac b/configure.ac index 7e1dbc0..88a217d 100644 --- a/configure.ac +++ b/configure.ac @@ -674,7 +674,9 @@ AG_GST_CHECK_FEATURE(GL, [gl elements], gl, [ AG_GST_GL_PLUGIN_CHECKS fi ]) - +AM_CONDITIONAL(HAVE_GRAPHENE, test "x$HAVE_GRAPHENE" = "xyes") +AM_CONDITIONAL(HAVE_PNG, test "x$HAVE_PNG" = "xyes") +AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes") dnl *** ivorbis *** dnl AM_PATH_IVORBIS only takes two options diff --git a/m4/gst-gl.m4 b/m4/gst-gl.m4 index fd28039..bbddd97 100644 --- a/m4/gst-gl.m4 +++ b/m4/gst-gl.m4 @@ -989,7 +989,6 @@ fi AC_SUBST(HAVE_GRAPHENE) AC_SUBST(GRAPHENE_LIBS) AC_SUBST(GRAPHENE_CFLAGS) -AM_CONDITIONAL(HAVE_GRAPHENE, test "x$HAVE_GRAPHENE" = "xyes") dnl Needed by plugins that use g_module_*() API dnl FIXME: probably not needed because AG_GST_CHECK_GLIB already includes it? @@ -1003,7 +1002,6 @@ fi AC_SUBST(HAVE_PNG) AC_SUBST(LIBPNG_LIBS) AC_SUBST(LIBPNG_CFLAGS) -AM_CONDITIONAL(HAVE_PNG, test "x$HAVE_PNG" = "xyes") dnl libjpeg is optional AC_ARG_WITH(jpeg-mmx, [ --with-jpeg-mmx, path to MMX'ified JPEG library]) @@ -1026,7 +1024,6 @@ else fi AC_SUBST(JPEG_LIBS) AC_SUBST(HAVE_JPEG) -AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes") ]) dnl --------------------------------------------------------------------------