From 7f6571e1cc916e8c840233f04cf97ee6f0a1a1d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 2 Mar 2016 20:28:00 +0200 Subject: [PATCH] rtp: Use yes/no in configure instead of 1/0 --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 21571a05c..d1d0878ab 100644 --- a/configure.ac +++ b/configure.ac @@ -1317,14 +1317,14 @@ AC_ARG_ENABLE([gstreamer], AS_IF([test "x$enable_gstreamer" != "xno"], [PKG_CHECK_MODULES(GSTREAMER, [ gstreamer-1.0 gstreamer-app-1.0 gstreamer-rtp-1.0 gio-2.0 ], - HAVE_GSTREAMER=1, HAVE_GSTREAMER=0)], - HAVE_GSTREAMER=0) + HAVE_GSTREAMER=yes, HAVE_GSTREAMER=no)], + HAVE_GSTREAMER=no) -AS_IF([test "x$enable_gstreamer" = "xyes" && test "x$HAVE_GSTREAMER" = "x0"], +AS_IF([test "x$enable_gstreamer" = "xyes" && test "x$HAVE_GSTREAMER" = "xno"], [AC_MSG_ERROR([*** GStreamer 1.0 support not found])]) -AM_CONDITIONAL([HAVE_GSTREAMER], [test "x$HAVE_GSTREAMER" = x1]) -AS_IF([test "x$HAVE_GSTREAMER" = "x1"], AC_DEFINE([HAVE_GSTREAMER], 1, [Have GStreamer?])) +AM_CONDITIONAL([HAVE_GSTREAMER], [test "x$HAVE_GSTREAMER" = xyes]) +AS_IF([test "x$HAVE_GSTREAMER" = "xyes"], AC_DEFINE([HAVE_GSTREAMER], 1, [Have GStreamer?])) #### Build and Install man pages ####