Index: configure
--- configure.orig
+++ configure
@@ -906,7 +906,7 @@ cat > conftest.$ac_ext << EOF
 #line 907 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(void){return(0);}
 EOF
 if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
@@ -1234,11 +1234,11 @@ fi
 XML_CONFIG_ERROR="
 *** You need to have libxml2 installed to use clo++
 *** If libxml2 is installed, set the XML_CONFIG enviroment
-*** variable to the full path to the xml-config program
+*** variable to the full path to the xml2-config program
 *** that got installed with libxml2"
 
 # Extract the first word of "xml-config", so it can be a program name with args.
-set dummy xml-config; ac_word=$2
+set dummy xml2-config; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:1244: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then
