mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Add check for XShm. Defines HAVE_XSHM
Bug #113743 r=Roland.Mainz@informatik.med.uni-giessen.de
This commit is contained in:
parent
a2a9cdc5c9
commit
6c12d93d8b
11
configure.in
11
configure.in
@ -1578,6 +1578,17 @@ then
|
||||
$XLIBS $XEXT_LIBS)
|
||||
AC_CHECK_HEADER(X11/extensions/Xinerama.h)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Check for XShm
|
||||
dnl ========================================================
|
||||
AC_CHECK_LIB(Xext, XShmCreateImage, _HAVE_XSHM_XEXT=1,,
|
||||
$XLIBS $XEXT_LIBS)
|
||||
AC_CHECK_HEADER(X11/extensions/XShm.h)
|
||||
if test -n "$ac_cv_header_X11_extensions_XShm_h" &&
|
||||
test -n "$_HAVE_XSHM_XEXT"; then
|
||||
AC_DEFINE(HAVE_XSHM)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Check for XIE
|
||||
dnl ========================================================
|
||||
|
Loading…
Reference in New Issue
Block a user