summaryrefslogtreecommitdiff
path: root/m4/std-gnu11.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-12-09 04:06:40 +0100
committerBruno Haible <bruno@clisp.org>2020-12-09 04:06:40 +0100
commita3b3fc85e3e632374811b27cb2111e50fa177e36 (patch)
treed1421e32854c27d4c3af10485613089af5e4959e /m4/std-gnu11.m4
parentc6b798d3754a4ee18c3e5e0fff4310105d7894b2 (diff)
downloadgnulib-a3b3fc85e3e632374811b27cb2111e50fa177e36.tar.gz
std-gnu11: Make compatible with Autoconf 2.70.
* m4/std-gnu11.m4: Disable the entire file if Autoconf >= 2.70 is in use.
Diffstat (limited to 'm4/std-gnu11.m4')
-rw-r--r--m4/std-gnu11.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/std-gnu11.m4 b/m4/std-gnu11.m4
index db833d820f..b5ab8abed0 100644
--- a/m4/std-gnu11.m4
+++ b/m4/std-gnu11.m4
@@ -6,6 +6,8 @@
# This implementation will be obsolete once we can assume Autoconf 2.70
# or later is installed everywhere a Gnulib program might be developed.
+m4_version_prereq([2.70], [], [
+
# Copyright (C) 2001-2020 Free Software Foundation, Inc.
@@ -822,3 +824,6 @@ dnl Tru64 N/A (no support)
dnl with extended modes being tried first.
[[-std=gnu++11 -std=c++11 -std=gnu++0x -std=c++0x -qlanglvl=extended0x -AA]], [$1], [$2])[]dnl
])# _AC_PROG_CXX_CXX11
+
+
+])# m4_version_prereq