diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2015-04-14 12:45:53 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2015-04-14 13:50:00 +0100 |
commit | 241fcb7de0af5df777b18821c81840564a7e5c95 (patch) | |
tree | b9d4e4aac69ae503175cfd7a271ca4de4d947a0b | |
parent | d676993e50eba12f40d8e176243041d4b91f7b13 (diff) |
gst-glib.m4: also extract and export GIO_PREFIX
So we can add proper plugin dependencies and reload the
gio plugin when gvfs backends are installed or removed.
https://bugzilla.gnome.org/show_bug.cgi?id=747841
-rw-r--r-- | m4/gst-glib2.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gst-glib2.m4 b/m4/gst-glib2.m4 index 63f0f46..5b9cd8b 100644 --- a/m4/gst-glib2.m4 +++ b/m4/gst-glib2.m4 @@ -120,6 +120,10 @@ AC_DEFUN([AG_GST_GLIB_CHECK], GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`" AC_DEFINE_UNQUOTED(GIO_LIBDIR, "$GIO_LIBDIR", [The GIO library directory.]) + GIO_PREFIX="`$PKG_CONFIG --variable=prefix gio-2.0`" + AC_DEFINE_UNQUOTED(GIO_PREFIX, "$GIO_PREFIX", + [The GIO install prefix.]) + AC_SUBST(GIO_CFLAGS) AC_SUBST(GIO_LIBS) AC_SUBST(GIO_LDFLAGS) |