<p>On Oct 8, 2012 10:49 PM, "Matt Turner" <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>> wrote:<br>
><br>
> On Mon, Oct 8, 2012 at 8:27 PM, Daniel Stone <<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>> wrote:<br>
> > <a href="http://configure.ac">configure.ac</a> would previously refuse to complete if libX11 wasn't<br>
> > installed, even if we'd disabled GLX and weren't building an X11 EGL<br>
> > platform.  Make the check simply set the no_x variable that's used (but<br>
> > never set) immediately below for what looks like this very case.<br>
> ><br>
> > Signed-off-by: Daniel Stone <<a href="mailto:daniel@fooishbar.org">daniel@fooishbar.org</a>><br>
> > ---<br>
> >  <a href="http://configure.ac">configure.ac</a> |    2 +-<br>
> >  1 file changed, 1 insertion(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a><br>
> > index 72c2b8c..8b727c0 100644<br>
> > --- a/<a href="http://configure.ac">configure.ac</a><br>
> > +++ b/<a href="http://configure.ac">configure.ac</a><br>
> > @@ -816,7 +816,7 @@ if test "x$enable_dri" = xyes; then<br>
> >  fi<br>
> ><br>
> >  dnl Find out if X is available.<br>
> > -PKG_CHECK_MODULES([X11], [x11])<br>
> > +PKG_CHECK_MODULES([X11], [x11], [no_x=no], [no_x=yes])<br>
> ><br>
> >  dnl Try to tell the user that the --x-* options are only used when<br>
> >  dnl pkg-config is not available. This must be right after AC_PATH_XTRA.<br>
> > --<br>
> > 1.7.10.4<br>
> ><br>
> > _______________________________________________<br>
> > mesa-dev mailing list<br>
> > <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> > <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
><br>
> Wow, it's been like that since 2008.<br>
><br>
> Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>></p>
<p>Originally configure basically supported only GLX either through DRI or Xlib, so Xlib was basically required. Not so much nowadays.</p>
<p>Reviewed-by: Dan Nicholson <<a href="mailto:dbn.lists@gmail.com">dbn.lists@gmail.com</a>></p>