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 2001/10/10 22:20:28 UTC
cvs commit: xml-xerces/perl/hints solaris_2.pl
jasons 01/10/10 13:20:28
Modified: perl/hints solaris_2.pl
Log:
* hints/solaris_2.pl (Repository):
Added check for gcc
Added -DHAS_BOOL for gcc
Revision Changes Path
1.2 +8 -2 xml-xerces/perl/hints/solaris_2.pl
Index: solaris_2.pl
===================================================================
RCS file: /home/cvs/xml-xerces/perl/hints/solaris_2.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- solaris_2.pl 2001/10/07 16:49:25 1.1
+++ solaris_2.pl 2001/10/10 20:20:28 1.2
@@ -2,5 +2,11 @@
# not binary compatible. This poses difficulties in writing hints for
# MakeMaker. Suggestions welcome.
-# gcc on solaris needs HAS_BOOL
-$self->{CCFLAGS} .= " -HAS_BOOL";
+use Config;
+
+# if we are using gcc
+if ($Config{gccversion}) {
+
+ # gcc on solaris needs HAS_BOOL
+ $self->{CCFLAGS} .= " -HAS_BOOL";
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org