svn commit: r710130 - /xalan/c/trunk/runConfigure

[email protected] Mon, 03 Nov 2008 19:01:16 -0000
Newsgroups gmane.text.xml.xalan.cvs
Message-ID <[email protected]>
Author: dbertoni
Date: Mon Nov  3 11:01:16 2008
New Revision: 710130

URL: http://svn.apache.org/viewvc?rev=710130&view=rev
Log:
Use GCC as the default compiler.  Bump optimization level to 3 for GCC and the HP compiler.

Modified:
    xalan/c/trunk/runConfigure

Modified: xalan/c/trunk/runConfigure
URL: http://svn.apache.org/viewvc/xalan/c/trunk/runConfigure?rev=710130&r1=710129&r2=710130&view=diff
==============================================================================
--- xalan/c/trunk/runConfigure (original)
+++ xalan/c/trunk/runConfigure Mon Nov  3 11:01:16 2008
@@ -192,6 +192,8 @@
 fi
 
 # Set up the default values for each parameter
+ccompiler=gcc            # Use GCC as the default compiler
+cppcompiler=g++          # Use GCC as the default compiler
 debug=off                # by default debug is off
 bitsToBuild=32           # by default 32 bit build assumed
 transcoder=default       # by default use default transcoder
@@ -361,11 +363,9 @@
     elif test $platform = "os390"; then
         debugflag="-DNDEBUG";
     elif test $platform = "linux"; then
-        if test $cppcompiler = "icpc"; then
-            debugflag="-O3 -DNDEBUG";
-        else
-            debugflag="-O2 -DNDEBUG";
-        fi
+        debugflag="-O3 -DNDEBUG";
+    elif test $cppcompiler = "aCC"; then
+        debugflag="+O3 -DNDEBUG";
     else
         debugflag="-O -DNDEBUG";
     fi