AC_PATH_X does not work without xmkmf
[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
Peter O'Gorman wrote:
[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
Proposed patch. 2008-03-28 Peter O'Gorman <peter@pogma.com> Find X11 on Mac OS X too. * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT,_AC_PATH_X_XMKMF): Check for libX11 with extensions dylib la and dll too. * THANKS: Update. Reported by Martin Costabel. I don't have commit to autoconf, so someone else will have to apply it. Peter -- Peter O'Gorman http://pogma.com
participants (1)
-
Peter O'Gorman