[gnome-utils] configure: Check for shape.h if the xext is available instead of if not
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] configure: Check for shape.h if the xext is available instead of if not
- Date: Fri, 16 Jul 2010 15:21:20 +0000 (UTC)
commit e43ad4d0711a1a41b0932e6b368d29f9f3d80f54
Author: Neil Roberts <bpeeluk yahoo co uk>
Date: Sun May 30 16:02:00 2010 +0100
configure: Check for shape.h if the xext is available instead of if not
Previously the configure script would only check for the shape.h
header if the xext pkg-config package is *not* available. This meant
that gnome-screenshot would only use the shape extension if the xext
package isn't installed which doesn't make much sense. Presumably the
intention was to check for the package and then check for the header
so that the shape extension is only used if both are available. This
patch fixes it to do that.
https://bugzilla.gnome.org/show_bug.cgi?id=620100
configure.ac | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 78b8829..e2a98b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,7 +124,6 @@ AC_SUBST(GDICT_VERSION)
# xext for gnome-screenshot; in theory checking for xext should be
# enough but there are a lot of broken distros out there
PKG_CHECK_MODULES(XSHAPE, xext x11,
- [],
[AC_CHECK_HEADERS(X11/extensions/shape.h, XSHAPE_LIBS="-lXext -lX11")])
AC_SUBST(XSHAPE_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]