[xlibs-commit] Xcomposite configure.ac,1.1.1.1,1.2
Jim Gettys
xlibs-commit@pdx.freedesktop.org
Wed, 12 Nov 2003 13:47:42 -0800
Committed by: jg
Update of /cvs/xlibs/Xcomposite
In directory pdx:/tmp/cvs-serv6504/Xcomposite
Modified Files:
configure.ac
Log Message:
Patch submitted by mikelima@virgilio.it (Luciano Montanaro) to fix:
http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=139
There is a README that says that when using pkg-config, the
AC_SUBST(packagename_CFLAGS)
AC_SUBST(packagename_LIBS)
lines should be supplied in the configure.in
Index: configure.ac
===================================================================
RCS file: /cvs/xlibs/Xcomposite/configure.ac,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- configure.ac 7 Nov 2003 04:22:59 -0000 1.1.1.1
+++ configure.ac 12 Nov 2003 21:47:40 -0000 1.2
@@ -46,6 +46,8 @@
PKG_CHECK_MODULES(X, x11,
[x_found_with_pkgconfig=yes],
[x_found_with_pkgconfig=no])
+AC_SUBST(X_CFLAGS)
+AC_SUBST(X_LIBS)
if test "$x_found_with_pkgconfig" = "no"
then
@@ -86,6 +88,8 @@
COMPOSITEEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`]
PKG_CHECK_MODULES(XCOMPOSITE, [compositeext >= $COMPOSITEEXT_VERSION] xfixes)
+AC_SUBST(XCOMPOSITE_CFLAGS)
+AC_SUBST(XCOMPOSITE_LIBS)
AC_OUTPUT([Makefile
xcomposite.pc])