jberry      2003/02/22 22:37:27

  Modified:    c/src/xercesc runConfigure
  Log:
  Fix issues in runConfigure:
        - If no C++ compiler was specified, it was worrying overmuch.
        - If no C++ compiler was specified, a call a particular test was spewing.
  
  Revision  Changes    Path
  1.25      +7 -3      xml-xerces/c/src/xercesc/runConfigure
  
  Index: runConfigure
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/runConfigure,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- runConfigure      20 Feb 2003 18:06:17 -0000      1.24
  +++ runConfigure      23 Feb 2003 06:37:27 -0000      1.25
  @@ -579,9 +579,13 @@
   case $cppcompiler in
      xlC* | xlc* | g++ | c++ | cc | CC | aCC | icc | ICC | cxx | ecc)
         ;;
  +      
  +   '')
  +       echo "C++ compiler not specified...we'll assume that configure will find 
it..."
  +       ;;
   
      *)
  -      echo "I do not recognize the C++ compiler '$cppcompiler'. Continuing anyway 
..."
  +      echo "I do not recognize the C++ compiler '$cppcompiler'. Continuing 
anyway..."
         ;;
   esac
   
  @@ -610,7 +614,7 @@
   export CFLAGS
   
   # gcc crashes if optimisation is turned on in a Tru64 environment
  -if [ $platform = "tru64" -a $CXX = "g++" ]; then
  +if test "$platform" = "tru64" -a "$CXX" = "g++"; then
       CXXFLAGS=`echo $CXXFLAGS | sed -e 's/-O[0-9]*//g'`
       CFLAGS=`echo $CFLAGS | sed -e 's/-O[0-9]*//g'`
       export CXXFLAGS CFLAGS
  
  
  

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

Reply via email to