peiyongz    2004/07/09 09:05:32

  Modified:    c/src/xercesc runConfigure
  Log:
  Build on HP-Itanium, aCC A.05.52
  
  Revision  Changes    Path
  1.35      +21 -5     xml-xerces/c/src/xercesc/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/runConfigure,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- runConfigure      19 May 2004 14:49:15 -0000      1.34
  +++ runConfigure      9 Jul 2004 16:05:32 -0000       1.35
  @@ -92,7 +92,7 @@
               [required; no default]"
       echo "       -c <C compiler name> (e.g. gcc, cc, xlc_r, qcc, icc or ecc) 
               [default is make default; cc for gnu make]"
  -    echo "       -x <C++ compiler name> (e.g. g++, CC, aCC, xlC_r, QCC, 
  +    echo "       -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, QCC, 
               icc or ecc) [default is make default; g++ for gnu make]"
       echo "       -d (specifies that you want to build debug version)
               [default: no debug]"
  @@ -465,8 +465,18 @@
              aix)
                 bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 " ;;
              hp-11)
  -              bitstobuildDefines=" $bitstobuildDefines +DA2.0W "
  -              bitstobuildLink=" +DA2.0W " ;;
  +               if test $cppcompiler; then
  +                   case $cppcompiler in
  +                       aCC)
  +                          bitstobuildDefines=" $bitstobuildDefines +DA2.0W "
  +                          bitstobuildLink=" +DA2.0W " ;;     
  +                       aCC05)
  +                          bitstobuildDefines=" $bitstobuildDefines +DD64 "
  +                          bitstobuildLink=" +DD64 " ;;
  +                       *)
  +                       ;;
  +                   esac
  +               fi ;;
              linux)
                 bitstobuildDefines=" $bitstobuildDefines " ;;
              *)
  @@ -652,8 +662,13 @@
   
   case $cppcompiler in
      xlC* | xlc* | g++ | c++ | cc | CC | aCC | icc | ICC | cxx | ecc | QCC )
  +      CXX="$cppcompiler"
         ;;
         
  +   aCC05)
  +      CXX="aCC"
  +      CXXVER="aCC05"
  +      ;;      
      '')
          echo "C++ compiler not specified...we'll assume that configure will find 
it..."
          ;;
  @@ -666,8 +681,9 @@
   CC="$ccompiler"
   export CC
   
  -CXX="$cppcompiler"
   export CXX
  +
  +export CXXVER
   
   #
   # Set the extra C and C++ compiler flags
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to