On Fri, Apr 28, 2006 at 04:24:11PM -0400, Aaron M. Ucko wrote:

> x_includes and x_libraries now expand to the empty string, biting
> anything that assumed otherwise.

Hi, Aaron, thanks, that's definitely useful information, and I will be
incorporating your patch, but I don't think it addresses the immediate
problem (although I'm willing to be proved wrong).

  AC_PATH_X
  if test "x$no_x" = "xyes"; then
    AC_MSG_ERROR([WMRack needs X Windows!!!])
  else
    CFLAGS="$CFLAGS -I${x_includes}"
    LIBS="$LIBS -L${x_libraries} -lX11"
  fi

The 'test "x$no_x" = "xyes"' is returning true, so it's not even
getting to the CFLAGS part.  So I think I still need more help.

Looking though the configure file, it seems that the initial header
file test is for Xos.h, but if that fails (and it might if x_includes
is ending up empty), the backup test is for Intrinsic.h.  The autoconf
documentation suggests that the search for Xos.h may have been a
bug-fix, in which case, the backup test may have been overlooked,
making this a bug in autoconf, with a simple (for now) workaround of
adding a build-dependency on libxt-dev.  But I'd like to confirm this
reasoning.  If I'm right, this may affect a lot of packages...

Still not subscribed to debian-x, please CC further replies.

-- 
Chris Waters           |  Pneumonoultra-        osis is too long
[EMAIL PROTECTED]       |  microscopicsilico-    to fit into a single
or [EMAIL PROTECTED] |  volcaniconi-          standalone haiku


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to