patch from Mark Vakoc that allows compiling with XInclude but without

* xinclude.c: patch from Mark Vakoc that allows compiling
  with XInclude but without XPointer support.
Daniel
diff --git a/xinclude.c b/xinclude.c
index 9f1a45b..ef53542 100644
--- a/xinclude.c
+++ b/xinclude.c
@@ -1116,8 +1116,10 @@
 	    }
 	    break;
 	}
+#ifdef LIBXML_XPTR_ENABLED
 	case XPATH_RANGE:
 	    return(xmlXIncludeCopyRange(ctxt, target, source, obj));
+#endif
 	case XPATH_POINT:
 	    /* points are ignored in XInclude */
 	    break;
@@ -1406,7 +1408,9 @@
 	    ctxt->incTab[nr]->inc = xmlXIncludeCopyNodeList(ctxt, ctxt->doc,
 		                                       doc, doc->children);
 	}
-    } else {
+    } 
+#ifdef LIBXML_XPTR_ENABLED
+    else {
 	/*
 	 * Computes the XPointer expression and make a copy used
 	 * as the replacement copy.
@@ -1530,6 +1534,7 @@
 	xmlXPathFreeContext(xptrctxt);
 	xmlFree(fragment);
     }
+#endif
 
     /*
      * Do the xml:base fixup if needed