configure.in: declare a requirement for at least autoconf 2.50
authorTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jul 2011 23:52:02 +0000 (19:52 -0400)
committerChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2011 14:16:18 +0000 (16:16 +0200)
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" <tytso@mit.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
configure.in

index 45b7fd18b338b51d595ac278202afc6a30328802..c697b4f611dd570467ce1b7e975937a9848b4b49 100644 (file)
@@ -1,4 +1,5 @@
 AC_INIT(src/xfsctl.c)
+AC_PREREQ(2.50)
 AC_PACKAGE_GLOBALS(xfstests)
 AC_PACKAGE_UTILITIES(xfstests)