Hi,

Back in September the Debian maintainer submitted a patch for AC_PATH_X
that fixed it to look for X11/Xlib.h (part of libX11) instead of
X11/Intrinsic.h (part of libXt):
  http://lists.gnu.org/archive/html/bug-autoconf/2005-09/msg00023.html

The patch that was eventually applied seems to have a typo:
  http://lists.gnu.org/archive/html/bug-autoconf/2005-09/msg00024.html

It calls XrmInitialize(0) whereas Xlib.h defines XrmInitialize(void).
The original Debian patch and the patch in the Debian package contains
XrmInitialize() which seems to be proper.

Attaching a patch against cvs to make this change.

-Toshio
Index: lib/autoconf/libs.m4
===================================================================
RCS file: /sources/autoconf/autoconf/lib/autoconf/libs.m4,v
retrieving revision 1.14
diff -u -u -r1.14 libs.m4
--- lib/autoconf/libs.m4	18 Sep 2005 17:10:24 -0000	1.14
+++ lib/autoconf/libs.m4	14 Feb 2006 18:31:40 -0000
@@ -285,7 +285,7 @@
   ac_save_LIBS=$LIBS
   LIBS="-lXt $LIBS"
   AC_LINK_IFELSE([AC_LANG_PROGRAM([EMAIL PROTECTED]:@include <X11/Xlib.h>],
-				  [XrmInitialize (0)])],
+				  [XrmInitialize ()])],
 		 [LIBS=$ac_save_LIBS
 # We can link X programs with no special library path.
 ac_x_libraries=],

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to