configure: remove C++ support
With the Android backend gone, there is no C++ code anymore. Remove
support for C++ in the build.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/configure.ac b/configure.ac
index a2e8e27..f9075ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,6 @@
# Check for programs
AC_PROG_CC
-AC_PROG_CXX
AC_PROG_SED
# Initialize libtool
@@ -257,14 +256,11 @@
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"