closed bug #66159 added --escape option some cleanup for xml2-config

* uri.c: closed bug #66159
* testURI.c: added --escape option
* configure.in: some cleanup for xml2-config --cflags
Daniel
diff --git a/configure.in b/configure.in
index b527e75..3f65c79 100644
--- a/configure.in
+++ b/configure.in
@@ -411,7 +411,7 @@
 if test "$with_iconv" = "no" ; then
     echo Disabling ICONV support
 else
-    if test "$with_iconv" != "yes" ; then
+    if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
 	CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
 	# Export this since our headers include iconv.h
 	XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"