xserver configure.ac bug, --disable-res or --disable-xres ?

Glenn McGrath <[email protected]>
Newsgroups gmane.comp.freedesktop.xserver
Message-ID <[email protected]>
Hi, there is a minor bug in xserver/configure.ac

You currently have the line

AC_ARG_ENABLE(xres,           [  --disable-res
],[RES=$enableval],[RES=yes])

Usage says to use --disable-res, but you need to use --disable-xres to
actually disable it.

Im not sure which way it should be, but attached is a patch to make
--disable-res work.

b.t.w. Its very nice to see your using autotools rather than that other
strange build system.


(im not subscribed to the list)


Thanks

Glenn
xserver_res.diff (application/octet-stream, 835 B)
--- configure.ac.old	2004-02-02 14:20:18.000000000 +1100
+++ configure.ac	2004-02-02 14:21:08.000000000 +1100
@@ -89,7 +89,7 @@
 AC_ARG_ENABLE(xv,            [  --disable-xv ],[XV=$enableval],[XV=yes])
 AC_ARG_ENABLE(composite,     [  --disable-composite ],[COMPOSITE=$enableval],[COMPOSITE=yes])
 AC_ARG_ENABLE(mitshm,        [  --disable-shm ],[MITSHM=$enableval],[MITSHM=yes])
-AC_ARG_ENABLE(xres,          [  --disable-res ],[RES=$enableval],[RES=yes])
+AC_ARG_ENABLE(res,           [  --disable-res ],[RES=$enableval],[RES=yes])
 AC_ARG_ENABLE(kdriveserver,  [  --disable-kdriveserver ],[KDRIVESERVER=$enableval],[KDRIVESERVER=yes])
 AC_ARG_ENABLE(xnestserver,   [  --disable-xnestserver ],[XNESTSERVER=$enableval],[XNESTSERVER=yes])
 AC_ARG_ENABLE(xwinserver,    [  --enable-xwinserver ],[XWINSERVER=$enableval],[XWINSERVER=no])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.