Don't try and build the memory manager parts for libdrm 2.3.1, this version has
been bumped to 2.4.0 upstream. ok matthieu@
This commit is contained in:
parent
9eb4db42c5
commit
fedaaef822
16
driver/xf86-video-intel/configure
vendored
16
driver/xf86-video-intel/configure
vendored
@ -21791,12 +21791,12 @@ if test -n "$PKG_CONFIG"; then
|
||||
pkg_cv_DRI_MM_CFLAGS="$DRI_MM_CFLAGS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.1\"") >&5
|
||||
($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.1") 2>&5
|
||||
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.0\"") >&5
|
||||
($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.0") 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; then
|
||||
pkg_cv_DRI_MM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.3.1" 2>/dev/null`
|
||||
pkg_cv_DRI_MM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.0" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@ -21809,12 +21809,12 @@ if test -n "$PKG_CONFIG"; then
|
||||
pkg_cv_DRI_MM_LIBS="$DRI_MM_LIBS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.1\"") >&5
|
||||
($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.1") 2>&5
|
||||
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.0\"") >&5
|
||||
($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.0") 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; then
|
||||
pkg_cv_DRI_MM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.3.1" 2>/dev/null`
|
||||
pkg_cv_DRI_MM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.0" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
fi
|
||||
@ -21833,9 +21833,9 @@ else
|
||||
_pkg_short_errors_supported=no
|
||||
fi
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
DRI_MM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.3.1"`
|
||||
DRI_MM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.4.0"`
|
||||
else
|
||||
DRI_MM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.3.1"`
|
||||
DRI_MM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.4.0"`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$DRI_MM_PKG_ERRORS" >&5
|
||||
|
@ -200,7 +200,7 @@ if test "$DRI" = yes; then
|
||||
PKG_CHECK_MODULES(DRI, [libdrm xf86driproto glproto])
|
||||
AC_DEFINE(XF86DRI,1,[Enable DRI driver support])
|
||||
AC_DEFINE(XF86DRI_DEVEL,1,[Enable developmental DRI driver support])
|
||||
PKG_CHECK_MODULES(DRI_MM, [libdrm >= 2.3.1],[DRI_MM=yes], [DRI_MM=no])
|
||||
PKG_CHECK_MODULES(DRI_MM, [libdrm >= 2.4.0],[DRI_MM=yes], [DRI_MM=no])
|
||||
if test "x$DRI_MM" = xyes; then
|
||||
AC_DEFINE(XF86DRI_MM,1,[Extended DRI memory management])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user