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 2002/02/21 04:19:26 UTC

cvs commit: xml-xerces/perl Makefile.PL

jasons      02/02/20 19:19:26

  Modified:    perl     Makefile.PL
  Log:
  	* Makefile.PL (Repository):
  	included basic support for parsing the config.status file
  	Bumped version (1.6.0)
  
  Revision  Changes    Path
  1.26      +57 -3     xml-xerces/perl/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/xml-xerces/perl/Makefile.PL,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Makefile.PL	3 Nov 2001 05:25:50 -0000	1.25
  +++ Makefile.PL	21 Feb 2002 03:19:26 -0000	1.26
  @@ -1,5 +1,10 @@
   use ExtUtils::MakeMaker;
  -use Env qw(XERCES_LIB XERCES_INCLUDE XERCESCROOT XERCES_DEVEL SWIG);
  +use Env qw(XERCES_LIB 
  +	   XERCES_CONFIG
  +	   XERCES_INCLUDE
  +	   XERCESCROOT
  +	   XERCES_DEVEL
  +	   SWIG);
   use strict;
   use vars qw($INCLUDES);
   use File::Basename;
  @@ -64,10 +69,59 @@
   EOW
   }
   
  +if (0) {
  +  # for now we will ignore the configuration
  +my $config_file = 'config.status';
  +if (defined $XERCES_CONFIG) {
  +  unless (-f $XERCES_CONFIG) {
  +  print STDERR <<EOW;
  +
  +   WARNING
  +
  +You have defined the XERCES_CONFIG variable, but it does not seem to
  +point to the $config_file file that was used to build your
  +Xerces-C. Without that file, I may not be able to properly build the
  +C++ glue files that come with Xerces.pm.
  +
  +Proceeding ...
  +EOW
  +  }
  +} elsif (defined $XERCESCROOT) {
  +  unless (-f "$XERCESCROOT/src/$config_file") {
  +  print STDERR <<EOW;
  +
  +   WARNING
  +
  +You have defined the XERCESCROOT variable, but I am unable to locate
  +the $config_file file that was used to build your Xerces-C. Without
  +that file, I may not be able to properly build the C++ glue files that
  +come with Xerces.pm.
  +
  +Proceeding ...
  +EOW
  +  }
  +} else {
  +  print STDERR <<EOW;
  +
  +   WARNING
  +
  +You have not defined any of the following environment variables:
  +   XERCESCROOT
  +   XERCES_CONFIG
  +
  +Without these I cannot find the $config_file file that was used to
  +build your Xerces-C. Without that file, I may not be able to properly
  +build the C++ glue files that come with Xerces.pm.
  +
  +Proceeding ...
  +EOW
  +}
  +}
  +
   # 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 = '1.5';
  -my $XERCES_MINOR_VERSION = '2';
  +my $XERCES_MAJOR_VERSION = '1.6';
  +my $XERCES_MINOR_VERSION = '0';
   my $XERCES_LIB_VERSION = "$XERCES_MAJOR_VERSION.$XERCES_MINOR_VERSION";
   my $XERCES_PERL_VERSION = $XERCES_LIB_VERSION . '_0';
   my $XERCES_VERSION = "$XERCES_LIB_VERSION";
  
  
  

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