File pstoedit-cxxflags.patch of Package pstoedit

Index: pstoedit-3.50/configure.ac
===================================================================
--- pstoedit-3.50.orig/configure.ac
+++ pstoedit-3.50/configure.ac
@@ -406,14 +406,12 @@ if test "$GXX" = yes; then
     AC_MSG_RESULT([GNU])
     SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
   fi
-  CXXFLAGS="-g" 
 elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
   AC_MSG_RESULT([AIX xlC])
-  CXXFLAGS="-D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude"  
+  SPECIAL_CXXFLAGS="-D__unix__ -g -+ -I/usr/lpp/xlC/src/nihC/aixinclude"
 elif test `echo "$CXX" | egrep -c 'cxx$'` -eq 1; then
   AC_MSG_RESULT([OSF/1 cxx])
-  SPECIAL_CXXFLAGS=-w
-  CXXFLAGS=-define_templates
+  SPECIAL_CXXFLAGS="-w -define_templates"
 elif test `echo "$CXX" | egrep -c 'CC$'` -eq 1; then
   if test "$host_os" = irix5.3; then
     AC_MSG_RESULT([Irix 5.3])
openSUSE Build Service is sponsored by