[PATCH weston 2/2] configure: remove C++ support
Pekka Paalanen
ppaalanen at gmail.com
Fri Jan 18 02:11:10 PST 2013
With the Android backend gone, there is no C++ code anymore. Remove
support for C++ in the build.
Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
configure.ac | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index a2e8e27..f9075ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,6 @@ AM_SILENT_RULES([yes])
# Check for programs
AC_PROG_CC
-AC_PROG_CXX
AC_PROG_SED
# Initialize libtool
@@ -257,14 +256,11 @@ PKG_CHECK_MODULES(SETBACKLIGHT, [libudev libdrm], enable_setbacklight=yes, enabl
AM_CONDITIONAL(BUILD_SETBACKLIGHT, test "x$enable_setbacklight" = "xyes")
if test "x$GCC" = "xyes"; then
- my_common_gcc_flags="-Wall -Wextra -Wno-unused-parameter \
- -Wno-missing-field-initializers -g -fvisibility=hidden"
- GCC_CFLAGS="$my_common_gcc_flags \
+ GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter \
+ -Wno-missing-field-initializers -g -fvisibility=hidden \
-Wstrict-prototypes -Wmissing-prototypes"
- GCC_CXXFLAGS="$my_common_gcc_flags"
fi
AC_SUBST(GCC_CFLAGS)
-AC_SUBST(GCC_CXXFLAGS)
if test "x$WESTON_NATIVE_BACKEND" = "x"; then
WESTON_NATIVE_BACKEND="drm-backend.so"
--
1.7.8.6
More information about the wayland-devel
mailing list