[Xquartz-dev] AC_PATH_X does not work without xmkmf

Peter O'Gorman peter at pogma.com
Fri Mar 28 09:14:31 PDT 2008


[cross-posting, if emails from mailman about awaiting moderator approval
bother you, feel free to drop xquartz-dev]

Hi,

Martin Costabel reported on Apple's xquartz-dev mailing list that
AC_PATH_X fails to work on the latest release candidate of X11 for Mac
OS X because the latest release candidate no longer includes imake or xmkmf.

http://lists.macosforge.org/pipermail/xquartz-dev/2008-March/000455.html

X11 lives in /usr/X11, with a symlink /usr/include/X11 ->
../X11/include/X11.

When X11 is not found with imake/xmkmf it searches for x includes and
libraries, but the library search list looks for libX11.a (static
archive, AIX), libX11.sl (HP-UX) and libX11.so (many others). Mac OS X
has libX11.dylib and libX11.la in /usr/X11/lib, but none of the others.

I guess the easiest solution is to add dylib and la to the list of
extensions to search (maybe add dll too?), this will make the test take
longer, of course. There is also the possibility that autoconf use
pkgconfig to check for the X11 .pc files.

We are hoping to persuade Jeremy to add xmkmf and imake back before the
next release as a workaround, but this is really an autoconf problem.

Thanks,
Peter
-- 
Peter O'Gorman
http://pogma.com


More information about the Xquartz-dev mailing list