[package] add dmalloc, patch from Raphael Huck
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20300 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
38
devel/dmalloc/patches/110-configure_cxx.patch
Normal file
38
devel/dmalloc/patches/110-configure_cxx.patch
Normal file
@ -0,0 +1,38 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -56,10 +56,11 @@ AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
|
||||
# see if we actually have a CXX program
|
||||
-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
|
||||
- AC_MSG_WARN(could not find C++ compiler $ac_cv_prog_CXX)
|
||||
- enable_cxx=no
|
||||
-fi
|
||||
+# FIXME: always returns no
|
||||
+#if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
|
||||
+# AC_MSG_WARN(could not find C++ compiler $ac_cv_prog_CXX)
|
||||
+# enable_cxx=no
|
||||
+#fi
|
||||
|
||||
# hopefully we have a stdc c-compiler
|
||||
if test "$ac_cv_prog_cc_stdc" = "no" ; then
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2648,11 +2648,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
# see if we actually have a CXX program
|
||||
-if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
|
||||
- { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
|
||||
-echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
|
||||
- enable_cxx=no
|
||||
-fi
|
||||
+# FIXME: always returns no
|
||||
+#if test "$ac_cv_prog_CXX" = "" -o ! -x "$ac_cv_prog_CXX"; then
|
||||
+# { echo "$as_me:$LINENO: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&5
|
||||
+#echo "$as_me: WARNING: could not find C++ compiler $ac_cv_prog_CXX" >&2;}
|
||||
+# enable_cxx=no
|
||||
+#fi
|
||||
|
||||
# hopefully we have a stdc c-compiler
|
||||
if test "$ac_cv_prog_cc_stdc" = "no" ; then
|
Reference in New Issue
Block a user