From: Gilles Dartiguelongue Date: Sun, 6 Oct 2013 15:37:38 +0000 (+0200) Subject: egl: Allow disabling gstreamer-egl library X-Git-Tag: 1.19.3~507^2~13040 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce080cb7cc13ebd7f2dd0ba9a1b0beed92e1b06c;p=platform%2Fupstream%2Fgstreamer.git egl: Allow disabling gstreamer-egl library https://bugzilla.gnome.org/show_bug.cgi?id=709531 --- diff --git a/configure.ac b/configure.ac index 567e1b3..f1a2567 100644 --- a/configure.ac +++ b/configure.ac @@ -494,7 +494,7 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then fi case "$EGL_WINDOW_SYSTEM" in - x11|none) + x11) PKG_CHECK_MODULES(EGL, egl, HAVE_EGL="yes", [ HAVE_EGL="no" old_LIBS=$LIBS @@ -594,6 +594,10 @@ case "$EGL_WINDOW_SYSTEM" in LIBS=$old_LIBS CFLAGS=$old_CFLAGS ;; + none|no) + HAVE_EGL="no" + AC_MSG_WARN([No EGL window system specified, will not build gstreamer-egl]) + ;; *) AC_MSG_ERROR([invalid EGL window system specified]) ;;