[PATCH 3/6] DirectFB integration

Denis Oliver Kropp dfbdok at gmail.com
Fri Oct 25 00:11:02 CEST 2013


configure: Add C++ compiler support and enable c++0x

---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 80a5d69..30fb4a3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,7 @@ AM_SILENT_RULES([yes])

 # Check for programs
 AC_PROG_CC
+AC_PROG_CXX
 AC_PROG_SED

 # Initialize libtool
@@ -474,6 +475,8 @@ if test x$wayland_scanner = x; then
  AC_MSG_ERROR([wayland-scanner is needed to compile weston])
 fi

+CXXFLAGS="-std=c++0x $CXXFLAGS"
+
 AC_CONFIG_FILES([Makefile
  shared/Makefile
  src/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20131025/9f0bac7a/attachment-0001.html>


More information about the wayland-devel mailing list