Google
  Web www.spinics.net

Re: Further notes on 7.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Jul 2, 2008 at 8:11 AM, Rémi Cardona <remi@xxxxxxxxxx> wrote:
>
> Would it be advisable to tell all those packages to use only pkg-config,
> ie through a formal deprecation of the AC_PATH_X macros?

Fallback on AC_PATH_X and friends. It's pretty straightforward.
Without actually testing:

PKG_CHECK_EXISTS([x11],
    [PKG_CHECK_MODULES([X], [x11])],
    [AC_PATH_XTRA])

That would give you $X_CFLAGS and $X_LIBS in both cases. There'd
probably be a little more error checking, but that's the gist of it.

--
Dan
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg


[X Forum]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux