1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/dmalloc/5.5.2/120-g++_check.patch Fri Aug 19 22:53:48 2011 +0200
1.3 @@ -0,0 +1,17 @@
1.4 +Correctly check for g++ existence.
1.5 +
1.6 +Copyright 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
1.7 +Licensed to you as dmalloc-5.5.2 is.
1.8 +
1.9 +diff -dur dmalloc-5.5.2.orig/configure dmalloc-5.5.2/configure
1.10 +--- dmalloc-5.5.2.orig/configure 2007-05-18 11:40:31.000000000 +0200
1.11 ++++ dmalloc-5.5.2/configure 2007-05-18 11:42:02.000000000 +0200
1.12 +@@ -2643,7 +2643,7 @@
1.13 +
1.14 +
1.15 + # see if we actually have a CXX program
1.16 +-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
1.17 ++if test "$ac_cv_prog_CXX" = "" -o ! -x `which "$ac_cv_prog_CXX"`; then
1.18 + { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
1.19 + echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
1.20 + enable_cxx=no