olafbuddenha...@gmx.net, le Tue 29 Mar 2011 23:52:38 +0200, a écrit : > On Mon, Mar 28, 2011 at 11:32:13PM +0200, Samuel Thibault wrote: > > Diego Nieto Cid, le Mon 28 Mar 2011 18:15:06 -0300, a écrit : > > > > > Rather than copy/pasting ks_table.h, kstoucs.c and symname.c, I'd rather > > > > see the Hurd console simply depend on libX11, actually. > > > > > > In that case I'll need some assistance with autoconf magic to check for > > > it :) > > > > Use the AC_PATH_XTRA macro, and then you can use > > $(X_CFLAGS) > > and > > $(X_PRE_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS) > > Can't we just use normal packageconf?
Ah, right, in our case we can assume that a recent enough Xorg is installed, and thus simply use PKG_CHECK_MODULES([X11], [x11], [have_x11=yes], [have_x11=no]) and then use have_x11, X11_CFLAGS, and X11_LIBS. Samuel