build: Don't ignore GST_PLUGIN_PATH_1_0 even if the directory doesn't exist yet

https://bugzilla.gnome.org/show_bug.cgi?id=759184
This commit is contained in:
Joel Holdsworth 2015-12-09 18:24:50 +02:00 committed by Sreerenj Balachandran
parent 61045041c4
commit 1a84348e76

View file

@ -526,7 +526,7 @@ AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl Check for the GStreamer plugins directory
AC_ARG_VAR([GST_PLUGIN_PATH_1_0], [installation path for gstreamer-vaapi plugin elements for GStreamer 1.0])
AC_MSG_CHECKING([for GStreamer plugins directory])
if test -d "$GST_PLUGIN_PATH_1_0"; then
if test -n "$GST_PLUGIN_PATH_1_0"; then
GST_PLUGINS_DIR="$GST_PLUGIN_PATH_1_0"
else
GST_PLUGINS_DIR=`$PKG_CONFIG gstreamer-$GST_PKG_VERSION --variable pluginsdir`