moved the symlinks detection within a CVS check, this is not portable and

* configure.in: moved the symlinks detection within a CVS
  check, this is not portable and will be removed soon.
* xpath.c: small cleanup/speedup
Daniel
diff --git a/xpath.c b/xpath.c
index 8b8cb27..0741920 100644
--- a/xpath.c
+++ b/xpath.c
@@ -5556,7 +5556,8 @@
 	while (((*in >= 0x61) && (*in <= 0x7A)) ||
 	       ((*in >= 0x41) && (*in <= 0x5A)) ||
 	       ((*in >= 0x30) && (*in <= 0x39)) ||
-	       (*in == '_'))
+	       (*in == '_') || (*in == '.') ||
+	       (*in == '-'))
 	    in++;
 	if ((*in == ' ') || (*in == '>') || (*in == '/') ||
             (*in == '[') || (*in == ']') || (*in == ':') ||