Re: [BUG] [PATCH] xcursor.pc file broken

Keith Packard <[email protected]> Fri, 02 Apr 2004 07:32:41 -0800
Newsgroups gmane.comp.freedesktop.xlibs.general
Message-ID <[email protected]>
--===============1341428808==
Content-Type: multipart/signed; boundary="==_Exmh_-1775980696P";
	micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit

--==_Exmh_-1775980696P
Content-Type: text/plain; charset=us-ascii


Around 10 o'clock on Apr 2, Sven Herzberg wrote:

************

--- xcursor-1.0.2/configure.ac	2004-03-31 16:06:16.000000000 +0200
+++ xcursor-fixed/configure.ac	2004-03-31 15:48:53.000000000 +0200
@@ -86,6 +86,12 @@
 		;;
 	esac
         ;;
+yes)
+	X_LIBS=""
+	X_CFLAGS=""
+	AC_SUBST(X_LIBS)
+	AC_SUBST(X_CFLAGS)
+	;;
 esac
 
 AC_SUBST(RENDER_CFLAGS)

***********

I'd prefer the following simpler patch.  Does this work for you?

-keith

***********

Index: configure.ac
===================================================================
RCS file: /cvs/xlibs/Xcursor/configure.ac,v
retrieving revision 1.12
diff -u -r1.12 configure.ac
--- a/configure.ac	24 Feb 2004 18:16:09 -0000	1.12
+++ b/configure.ac	2 Apr 2004 15:30:58 -0000
@@ -102,6 +102,9 @@
 	fi
 fi
 
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LIBS)
+
 PKG_CHECK_MODULES(XRENDER, xrender >= 0.8.2, [xrender_found_with_pkgconfig=yes], 
                   [xrender_found_with_pkgconfig=no])
 case "$xrender_found_with_pkgconfig" in



--==_Exmh_-1775980696P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh version 2.3.1 11/28/2001

iD8DBQFAbYeYQp8BWwlsTdMRAoWAAJwK61klxwrgJd8SoFLGIRQOI/54CACg2ydq
ipwldjkCkO6agGzsAAn9HGg=
=AWNq
-----END PGP SIGNATURE-----

--==_Exmh_-1775980696P--


--===============1341428808==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xlibs mailing list
[email protected]
http://freedesktop.org/mailman/listinfo/xlibs

--===============1341428808==--