missing check in lib/X11

Arwed von Merkatz v.merkatz at gmx.net
Thu Jul 7 06:44:17 EST 2005


Hi everyone,

trying to build the modular tree yesterday I ran into a missing check in
the libX11 configure. It uses the BigFont header if you tell it to
compile with bigfont support without checking for it.
Attached is a patch adding that check to configure.ac.

-- 
Arwed v. Merkatz                              Source Mage GNU/Linux developer
                                                    http://www.sourcemage.org
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /cvs/xorg/lib/X11/configure.ac,v
retrieving revision 1.14
diff -u -r1.14 configure.ac
--- configure.ac	18 Jun 2005 07:48:43 -0000	1.14
+++ configure.ac	6 Jul 2005 20:29:08 -0000
@@ -172,13 +172,16 @@
 fi
 AC_MSG_RESULT($XLOCALEDIR)
 
-AC_MSG_CHECKING([if XF86BigFont support should be enabled])
 AC_ARG_ENABLE(xf86bigfont,
 	      AC_HELP_STRING([--disable-xf86bigfont],
 		[Disable XF86BigFont extension support]),
 	      [XF86BIGFONT=$enableval],[XF86BIGFONT="yes"])
 if test "x$XF86BIGFONT" == "xyes"; then
+  PKG_CHECK_MODULES(BIGFONTPROTO, xf86bigfontproto,
 	AC_DEFINE(XF86BIGFONT,1,[Enable XF86BIGFONT extension])
+        X11_CFLAGS="$X11_CFLAGS $BIGFONTPROTO_CFLAGS"
+        X11_LIBS="$X11_LIBS $BIGFONTPROTO_CFLAGS",
+        XF86BIGFONT="no")
 fi
 AC_MSG_RESULT($XF86BIGFONT)
 


More information about the xorg-modular mailing list