Cope without xmkmf

Daniel Stone daniel at fooishbar.org
Mon Jul 21 16:06:48 PDT 2008


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.
> 
> This approach has the advantage that we still fallback on the xmkmf and
> direct approaches whether the xorg macros and pkg-config are available
> or not. However, in the case that the xorg macros are available, we can
> be smarter about using the X installation. It also makes sense that the
> X implementation control the autoconf macros governing its usage.
> 
> Let me know what you think. I've cc'd the xorg list to see if this would
> be acceptable.

Hmm, it did seem reasonable to me, but the more I think about it, the
more I'm convinced that any macro we add should just DTRT with
pkg-config and who cares about all the legacy stuff.  People who are
shipping xorg-path.m4 will almost certainly _not_ be shipping X11R4, or
even XFree86.

If anyone else wants to do their own implementation, they should be
providing pkg-config, as it's pretty much the only reasonable way.  If
they don't feel like it, they could always provide their own
AC_PATH_X{,TRA} that DidTRT.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080722/1bbfab35/attachment.pgp>


More information about the xorg mailing list