bug-autoconf
[Top][All Lists]
Advanced

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

Re: Cope without xmkmf


From: Stepan Kasal
Subject: Re: Cope without xmkmf
Date: Mon, 21 Jul 2008 13:11:49 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

On Sun, Jul 20, 2008 at 03:22:51PM -0700, Dan Nicholson wrote:
> Attached are patches to add copies the X macros to xorg's util-macros
> package and add a method to search via pkg-config. This isn't ideal
> since it requires that the xorg macros are found to override the
> autoconf ones, but I couldn't find a satisfactory way to wedge in a
> pkg-config check to AC_PATH_X externally.

indeed, if xorg keeps local version of _AC macros (Autoconf internal
macros), it will hit back and hurt, sooner or later.
There is no satisfactory way to wedge in the check externally,
Autoconf itself should fix it.

Requiring external PKG_PROG_PKG_CONFIG is not the way to go.  We
might have AC_PATH_PKG_CONFIG inside, though.
Unfortunately, I'm not a big fan of pkg-check, but others' opinion
may differ...

But, fortunately, the discussion seemed to indicate that current
macros should work in all real-life situations: _AC_PATH_X_DIRECT
finds X headers and libraries min their usual locations.

Moreover, modern GNU/Linux distribution seem to treat X as an
integral part of the system and place their headers and libs to the
default locations.  With the default locations, even multilib
("/lib64") flavors of GNU/Linux work.

So my conclusion from the answers on bug-autoconf list was that no
change was needed.

Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]