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>
This commit is contained in:
parent
a87ccdc993
commit
a95efd3bb7
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user