packages/devel/dmalloc/patches/110-configure_cxx.patch
florian 0e1f2d8e30 [package] add dmalloc, patch from Raphael Huck
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-19 16:23:37 +00:00

39 lines
1.3 KiB
Diff

--- 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