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:
committed by
Kristian Høgsberg
parent
a87ccdc993
commit
a95efd3bb7
+2
-6
@@ -13,7 +13,6 @@ AM_SILENT_RULES([yes])
|
|||||||
|
|
||||||
# Check for programs
|
# Check for programs
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
|
||||||
AC_PROG_SED
|
AC_PROG_SED
|
||||||
|
|
||||||
# Initialize libtool
|
# 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")
|
AM_CONDITIONAL(BUILD_SETBACKLIGHT, test "x$enable_setbacklight" = "xyes")
|
||||||
|
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
my_common_gcc_flags="-Wall -Wextra -Wno-unused-parameter \
|
GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter \
|
||||||
-Wno-missing-field-initializers -g -fvisibility=hidden"
|
-Wno-missing-field-initializers -g -fvisibility=hidden \
|
||||||
GCC_CFLAGS="$my_common_gcc_flags \
|
|
||||||
-Wstrict-prototypes -Wmissing-prototypes"
|
-Wstrict-prototypes -Wmissing-prototypes"
|
||||||
GCC_CXXFLAGS="$my_common_gcc_flags"
|
|
||||||
fi
|
fi
|
||||||
AC_SUBST(GCC_CFLAGS)
|
AC_SUBST(GCC_CFLAGS)
|
||||||
AC_SUBST(GCC_CXXFLAGS)
|
|
||||||
|
|
||||||
if test "x$WESTON_NATIVE_BACKEND" = "x"; then
|
if test "x$WESTON_NATIVE_BACKEND" = "x"; then
|
||||||
WESTON_NATIVE_BACKEND="drm-backend.so"
|
WESTON_NATIVE_BACKEND="drm-backend.so"
|
||||||
|
|||||||
Reference in New Issue
Block a user