patches/dmalloc/5.5.2/120-g++_check.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 16:22:52 2011 +0800 (2011-11-18)
changeset 2856 7723b8457efa
permissions -rw-r--r--
debug/gdb: --disable-sim for CT_GDB_CROSS.

sim was already disabled for CT_GDB_NATIVE.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@anciens.enib.fr: make it a config option]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 Correctly check for g++ existence.
     2 
     3 Copyright 2007 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     4 Licensed to you as dmalloc-5.5.2 is.
     5 
     6 diff -dur dmalloc-5.5.2.orig/configure dmalloc-5.5.2/configure
     7 --- dmalloc-5.5.2.orig/configure	2007-05-18 11:40:31.000000000 +0200
     8 +++ dmalloc-5.5.2/configure	2007-05-18 11:42:02.000000000 +0200
     9 @@ -2643,7 +2643,7 @@
    10  
    11  
    12  # see if we actually have a CXX program
    13 -if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
    14 +if test "$ac_cv_prog_CXX" = "" -o ! -x `which "$ac_cv_prog_CXX"`; then
    15      { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
    16  echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
    17      enable_cxx=no