[xlibs-commit] Xfixes configure.ac,1.3,1.4
Jim Gettys
xlibs-commit@pdx.freedesktop.org
Wed, 12 Nov 2003 13:47:42 -0800
Committed by: jg
Update of /cvs/xlibs/Xfixes
In directory pdx:/tmp/cvs-serv6504/Xfixes
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/Xfixes/configure.ac,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- configure.ac 3 Nov 2003 02:24:32 -0000 1.3
+++ configure.ac 12 Nov 2003 21:47:40 -0000 1.4
@@ -47,6 +47,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
@@ -87,6 +89,8 @@
FIXESEXT_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`]
PKG_CHECK_MODULES(FIXESEXT, [fixesext >= $FIXESEXT_VERSION])
+AC_SUBST(FIXESEXT_CFLAGS)
+AC_SUBST(FIXESEXT_LIBS)
AC_OUTPUT([Makefile
xfixes.pc])