repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: fa7fbea12c4c8d80752fbe4afa552c605cdbafb9:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit fa7fbea12c4c8d80752fbe4afa552c605cdbafb9
Author: Emanuele Giaquinta 
Date:   Tue Jan 4 23:12:10 2011 +0000

    Remove configure test and fallback definition for XPointer.

diff --git a/configure.ac b/configure.ac
index 3bf9d4d22f41876551d1d2d79f176e8c3daa593e..
index ..78205ea0dbd29e04f037975656afddbb15d2a9de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -519,12 +519,6 @@ AC_CHECK_HEADERS( \
 	cwchar \
 )

-AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer,
-[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])])
-if test x$rxvt_cv_xpointer = xyes; then
-  AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef)
-fi
-
 AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access,
 [AC_COMPILE_IFELSE(
    [AC_LANG_PROGRAM([
diff --git a/src/rxvt.h b/src/rxvt.h
index 60e27f9540d021a573084c6fbdf3fedd4df7e3d3..
index ..4d6380349606ccf59fcfef71879a33df3bee6052 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -30,6 +30,8 @@

 using namespace std;

+// we assume that Xlib.h defines XPointer, and it does since at least 1994...
+
 extern "C" {
 #include 
 #include 
@@ -100,10 +102,6 @@ typedef  int32_t tlen_t_; // specifically for use in the line_t structure
  *****************************************************************************
  */

-#ifndef HAVE_XPOINTER
-typedef char *XPointer;
-#endif
-
 #include 

 #include "background.h"

-----END OF PAGE-----