You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ja...@apache.org on 2004/05/20 18:20:34 UTC

svn commit: rev 20149 - xml/xerces-p/trunk

Author: jasons
Date: Thu May 20 09:20:33 2004
New Revision: 20149

Modified:
   xml/xerces-p/trunk/Makefile.PL
Log:
fixed error output to include proper Xerces-C version ; added Win32 specic -L flag

Modified: xml/xerces-p/trunk/Makefile.PL
==============================================================================
--- xml/xerces-p/trunk/Makefile.PL	(original)
+++ xml/xerces-p/trunk/Makefile.PL	Thu May 20 09:20:33 2004
@@ -155,10 +155,10 @@
 
 # We need to know which version of libxerces we are to use. 
 # As of Xerces-C 1.5.1, minor version numbers are used
-my $XERCES_MAJOR_VERSION = '2.3';
+my $XERCES_MAJOR_VERSION = '2.4';
 my $XERCES_MINOR_VERSION = '0';
 my $XERCES_LIB_VERSION = "$XERCES_MAJOR_VERSION.$XERCES_MINOR_VERSION";
-my $XERCES_PERL_VERSION = $XERCES_LIB_VERSION . '-4';
+my $XERCES_PERL_VERSION = $XERCES_LIB_VERSION . '-0';
 my $XERCES_VERSION = "$XERCES_LIB_VERSION";
 
 # find the version of Xerces-C we are using
@@ -190,10 +190,10 @@
 die <<EOE if $XERCES_VERSION ne $XERCES_C_VERSION;
       *** Version Mismatch ***
 
-You are attempt to build XML::Xerces-$XERCES_VERSION using Xerces-C-$XERCES_C_VERSION,
+You are attempt to build XML::Xerces-$XERCES_PERL_VERSION using Xerces-C-$XERCES_C_VERSION,
 this will most likely fail, so I am aborting. 
 
-You must use Xerces-C-$XERCES_C_VERSION
+You must use Xerces-C-$XERCES_LIB_VERSION
 
 EOE
 
@@ -202,6 +202,8 @@
 my $LIBXERCES = "-lxerces-c";
 if ($^O eq 'cygwin') {
   $LIBXERCES .= "$major$minor.dll";
+} elsif ($^O eq 'MSWin32') {
+  $LIBXERCES = "-lxerces-c_2";
 }
 $LIBS .= " $LIBXERCES";
 

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org