Browse Source

Move and manually include c++11 m4 file to work around old aclocal versions

Bart van Strien 10 years ago
parent
commit
306049bcfe
2 changed files with 4 additions and 1 deletions
  1. 4 1
      platform/unix/configure.ac
  2. 0 0
      platform/unix/cpp11.m4

+ 4 - 1
platform/unix/configure.ac

@@ -17,12 +17,15 @@ PKG_PROG_PKG_CONFIG
 AC_C_BIGENDIAN
 AC_LANG([C++])
 
+dnl Workaround for old aclocal versions
+m4_include([platform/unix/cpp11.m4])
+
 includes=
 
 AC_DEFUN([LOVE_MSG_ERROR],
 		 [AC_MSG_ERROR([LÖVE needs "$1"[,] please install "$1" with development files and try again])])
 
-# C++11 support in m4/cpp11.m4
+# C++11 support in cpp11.m4
 ACLOVE_CPP11_TEST
 
 # Allow people on OSX to use autotools, they need their platform files

+ 0 - 0
platform/unix/m4/cpp11.m4 → platform/unix/cpp11.m4