jberry 2003/02/25 11:38:44
Modified: c/tests runConfigure
Log:
- runConfigure was worrying overmuch if no C++ compiler was specified.
- test for TRU64 special case was failing if no C++ compiler was specified.
Revision Changes Path
1.27 +6 -2 xml-xerces/c/tests/runConfigure
Index: runConfigure
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/runConfigure,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- runConfigure 2 Dec 2002 20:07:36 -0000 1.26
+++ runConfigure 25 Feb 2003 19:38:44 -0000 1.27
@@ -418,6 +418,10 @@
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
..."
;;
@@ -442,7 +446,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]