Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 1d78626652d953bdf9465d41598d1776 > files > 1

icewm-1.3.3-7.mga1.src.rpm

---
 configure.in |    5 	5 +	0 -	0 !
 1 file changed, 5 insertions(+)

Index: icewm-1.3.1/configure.in
===================================================================
--- icewm-1.3.1.orig/configure.in	2007-08-07 01:19:17.000000000 -0400
+++ icewm-1.3.1/configure.in	2009-08-17 05:15:38.000000000 -0400
@@ -360,6 +360,11 @@ if test "$enable_nls" != "no"; then
   localedir='${datadir}/locale'
 fi
 
+# GCC 3.0+ requires to link with libsupc++ to get memory allocators
+if ${CC} -v 2>&1 | grep -q 'gcc version 3'; then
+  CORE_LIBS="$CORE_LIBS -lsupc++"
+fi
+
 dnl ================================================ Features of the XServer ===
 dnl
 CORE_CFLAGS="${X_CFLAGS}"