diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-19 09:09:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-19 16:09:58 +0200 |
commit | 368d08f74744ed5d5ef5ef747e86bddbfaa47312 (patch) | |
tree | 66e45685184aa5e086d132541d9841e63d2abf2d /config-daemon.ac | |
parent | 2bb04905f86f9c3f1d27557fbff8cbdc776560a3 (diff) | |
download | patches-368d08f74744ed5d5ef5ef747e86bddbfaa47312.tar patches-368d08f74744ed5d5ef5ef747e86bddbfaa47312.tar.gz |
build: Make sure $CXX supports C++11.
* m4/guix.m4 (GUIX_CHECK_CXX11, GUIX_ASSERT_CXX11): New macros.
* config-daemon.ac: Use 'AC_LANG([C++])' and 'GUIX_ASSERT_CXX11'.C
* doc/guix.texi (Requirements): Mention C++11 support.
Diffstat (limited to 'config-daemon.ac')
-rw-r--r-- | config-daemon.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config-daemon.ac b/config-daemon.ac index fb80c754c9..a6cf29ca42 100644 --- a/config-daemon.ac +++ b/config-daemon.ac @@ -5,9 +5,12 @@ AC_MSG_RESULT([$guix_build_daemon]) dnl C++ environment. This macro must be used unconditionnaly. AC_PROG_CXX +AC_LANG([C++]) if test "x$guix_build_daemon" = "xyes"; then + GUIX_ASSERT_CXX11 + AC_PROG_RANLIB AC_CONFIG_HEADER([nix/config.h]) |