From: Theodore Ts'o Date: Thu, 21 Jul 2011 23:50:35 +0000 (-0400) Subject: configure.in: declare a requirement for at least autoconf 2.50 X-Git-Tag: v3.1.6~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86b99f0af616b697b58668d2b3715575acdf8f92;p=thirdparty%2Fxfsprogs-dev.git configure.in: declare a requirement for at least autoconf 2.50 On Debian/Ubuntu systems, if autoconf version 2.13 is installed, autoconf will try to automatically figure out whether autoconf 2.13 or something more modern is required (since the autoconf maintainers, curses be upon them, didn't bother to maintain compatibility between autoconf 2.13 and 2.50). Unfortunately, the hueristics aren't perfect, and although the configure.in file looks superficially like it will be compatible with autoconf 2.13, it isn't. You will end up with a number of very subtle compilation failures if you use autoconf 2.13. So declare a requirement for autoconf 2.50 using AC_PREREQ(2.50). Signed-off-by: "Theodore Ts'o" Signed-off-by: Christoph Hellwig --- diff --git a/configure.in b/configure.in index 10c4c611e..664c0e93b 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,5 @@ AC_INIT(include/libxfs.h) +AC_PREREQ(2.50) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADER(include/platform_defs.h)