[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XKB's keymaps for the Hurd console
From: |
Samuel Thibault |
Subject: |
Re: XKB's keymaps for the Hurd console |
Date: |
Wed, 30 Mar 2011 11:00:56 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
olafBuddenhagen@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
Re: XKB's keymaps for the Hurd console, olafBuddenhagen, 2011/03/29