1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
ZyXEL_PMG5617GA/package/devel/dmalloc/patches/110-configure_cxx.patch
2022-11-27 10:16:14 +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