aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-07-21 19:50:35 -0400
committerChristoph Hellwig <hch@lst.de>2011-07-22 16:22:10 +0200
commit677e843a4b96c556e09037c0ffa292a6ef1d31bc (patch)
tree9750b950918e83343d61a4ee9f0e07596df8da03
parent85947d728dc170a58f807d9f2c15e22237b110b9 (diff)
downloaddmapi-dev-677e843a4b96c556e09037c0ffa292a6ef1d31bc.tar.gz
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" <tytso@mit.edu> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ae2e35d..0d65283 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,5 @@
AC_INIT(include/dmapi.h)
+AC_PREREQ(2.50)
AC_CONFIG_AUX_DIR([.])
AC_CONFIG_MACRO_DIR([m4])
AC_PREFIX_DEFAULT(/usr)