diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-11-02 11:19:27 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-11-02 11:19:27 -0700 |
commit | f7934be8f6bb5f47def626af7bd9098e8fb3e950 (patch) | |
tree | 2152d91d53bb537545c8e21915fa5e992de7e4d1 /aclocal.m4 | |
parent | d7d08bdedeecf168ef58c7e2bdbb4c39c1939aba (diff) | |
download | glibc-f7934be8f6bb5f47def626af7bd9098e8fb3e950.tar glibc-f7934be8f6bb5f47def626af7bd9098e8fb3e950.tar.gz glibc-f7934be8f6bb5f47def626af7bd9098e8fb3e950.tar.bz2 glibc-f7934be8f6bb5f47def626af7bd9098e8fb3e950.zip |
Require an exact Autoconf version.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 60a5fea279..3e61dc83f3 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,3 +1,13 @@ +dnl We require that everyone use exactly the same Autoconf version so that +dnl the internal functions defined and used by the main configure script +dnl match those expected by the fragments. +m4_define([GLIBC_AUTOCONF_VERSION], [2.68]) +m4_if(m4_defn([AC_AUTOCONF_VERSION]), GLIBC_AUTOCONF_VERSION, [], + [m4_fatal(m4_flatten( +Exactly version GLIBC_AUTOCONF_VERSION of Autoconf is required but you have +m4_defn([AC_AUTOCONF_VERSION]) +), [63])])dnl +dnl dnl We define the macro GLIBC_PROVIDES to do an AC_PROVIDE for each macro dnl which appears in configure.in before the sysdep configure scripts are run. dnl Each sysdep configure.in does GLIBC_PROVIDES first, to avoid any |