summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTomáš Chvátal <scarabeus@gentoo.org>2010-09-11 22:55:23 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-11 21:59:17 +0100
commit0f070bd5ff9ad17b90852e8a7ba102c6b4b050f6 (patch)
tree7ccaae14c6f4cc3365c5ffe3cbb0fc2c71a97bc1 /configure.ac
parentf59771051badc2ea708437c5faa27d0895f787d6 (diff)
Fix posix calls in configure.ac test code.
Fixes https://bugs.gentoo.org/show_bug.cgi?id=336779 Signed-off-by: Tomáš Chvátal <scarabeus@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 7dc4b1319..2c14ae261 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,7 +99,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(xcb, XCB, no, [
])
CAIRO_ENABLE_FUNCTIONS(xlib_xcb, Xlib/XCB, no, [
- if test "x$use_xcb" == "xyes" -a "x$use_xlib" == "xyes"; then
+ if test "x$use_xcb" = "xyes" -a "x$use_xlib" = "xyes"; then
xlib_xcb_REQUIRES="x11-xcb"
PKG_CHECK_MODULES(xlib_xcb, $xlib_xcb_REQUIRES, ,
[use_xlib_xcb="no (requires $xlib_xcb_REQUIRES http://xcb.freedesktop.org)"])
@@ -110,7 +110,7 @@ CAIRO_ENABLE_FUNCTIONS(xlib_xcb, Xlib/XCB, no, [
AM_CONDITIONAL(BUILD_XLIB_XCB, test "x$use_xlib_xcb" = "xyes")
CAIRO_ENABLE_FUNCTIONS(xcb_shm, XCB/SHM, auto, [
- if test "x$use_xcb" == "xyes"; then
+ if test "x$use_xcb" = "xyes"; then
xcb_shm_REQUIRES="xcb-shm"
PKG_CHECK_MODULES(xcb_shm, $xcb_shm_REQUIRES, ,
[AC_MSG_RESULT(no)
@@ -232,7 +232,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(drm, DRM, no, [
])
CAIRO_ENABLE_FUNCTIONS(drm_xr, DRM Xr (DDX), no, [
- if test "x$use_drm" == "xyes"; then
+ if test "x$use_drm" = "xyes"; then
drm_xr_REQUIRES="xorg-server >= 1.6 xproto xextproto >= 7.0.99.1 renderproto x11"
PKG_CHECK_MODULES(drm_xr, $drm_xr_REQUIRES, ,
[AC_MSG_RESULT(no)
@@ -262,7 +262,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(gallium, Gallium3D, no, [
])
CAIRO_ENABLE_FUNCTIONS(xcb_drm, XCB/DRM, no, [
- if test "x$use_xcb" == "xyes" -a "x$use_drm" == "xyes"; then
+ if test "x$use_xcb" = "xyes" -a "x$use_drm" = "xyes"; then
xcb_drm_REQUIRES="xcb-dri2"
PKG_CHECK_MODULES(xcb_drm, $xcb_drm_REQUIRES, ,
[AC_MSG_RESULT(no)