From 0f070bd5ff9ad17b90852e8a7ba102c6b4b050f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 11 Sep 2010 22:55:23 +0200 Subject: [PATCH] Fix posix calls in configure.ac test code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://bugs.gentoo.org/show_bug.cgi?id=336779 Signed-off-by: Tomáš Chvátal --- configure.ac | 8 ++++---- 1 file 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)