From acc818df76e5b96e871c738c92d6cebfe84cdc9d Mon Sep 17 00:00:00 2001 From: Timo Gurr Date: Mon, 1 Jun 2015 16:10:16 +0200 Subject: [PATCH] configure: Fix configure failure when building without gstreamer support Error introduced in 20ea22e0a11a9bdfe4d8125b68083249b694338a, resulting in a configure/build error when building without gstreamer: configure: error: conditional "HAVE_GST_CHECK" was never defined. Usually this means the macro was only invoked conditionally. --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6031cec..e8ca2e5 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,8 @@ AC_ARG_WITH(gstreamer, [with_gstreamer=${withval}], [with_gstreamer=auto]) +AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes) + AC_ARG_WITH(gstreamer-0.10, AS_HELP_STRING([--with-gstreamer-0.10],[build GStreamer 0.10 plugin]), [with_gstreamer010=${withval}], @@ -231,9 +233,6 @@ AS_IF([test "$with_gstreamer" != no], [ [ have_gst_check=no ]) - - AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes) - ]) AS_IF([test "$with_gstreamer010" != no], [ -- 2.4.1