mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
configure: use pkg-config to detect X11
Like we do in -base and -good now. https://bugzilla.gnome.org/show_bug.cgi?id=731047
This commit is contained in:
parent
9e700adf83
commit
5f8a3fa0a3
1 changed files with 1 additions and 2 deletions
|
@ -650,7 +650,7 @@ AC_ARG_ENABLE([dispmanx],
|
|||
*) AC_MSG_ERROR([bad value ${enableval} for --enable-dispmanx]) ;;
|
||||
esac],[NEED_DISPMANX=auto])
|
||||
|
||||
AG_GST_CHECK_X
|
||||
AG_GST_PKG_CHECK_MODULES(X, x11)
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
|
@ -2441,7 +2441,6 @@ dnl *** nas ***
|
|||
translit(dnm, m, l) AM_CONDITIONAL(USE_NAS, true)
|
||||
AG_GST_CHECK_FEATURE(NAS, [nas plug-in], nassink, [
|
||||
HAVE_NAS="no"
|
||||
AG_GST_CHECK_X
|
||||
if test "x$HAVE_X" = "xyes"; then
|
||||
save_cppflags=$CFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
|
||||
|
|
Loading…
Reference in a new issue