]> git.ipfire.org Git - thirdparty/util-linux.git/commit - m4/ul.m4
build-sys: allow autoconf < 2.64 to be used
authorKir Kolyshkin <kir@openvz.org>
Thu, 3 Sep 2015 00:50:15 +0000 (17:50 -0700)
committerKir Kolyshkin <kir@openvz.org>
Thu, 3 Sep 2015 01:41:52 +0000 (18:41 -0700)
commita8afc8c66606c0fd68b46e03bed2112143d0bf1e
tree048fbb66e06ca5ef84b17a4b954d636728e11301
parentdd49c7d6d666489401d2e65d381f256cc931c50b
build-sys: allow autoconf < 2.64 to be used

Since commit 50d096a macro m4_ifblank is used, but as it is only
available in autoconf-2.64, on CentOS 6 system we end up with:

> $ ./autogen.sh
> configure:25396: error: possibly undefined macro: m4_ifblank
>       If this token and others are legitimate, please use
> m4_pattern_allow.
>       See the Autoconf documentation.
> [root@kir-ovz2 util-linux]# autoconf --version
> autoconf (GNU Autoconf) 2.63

So, the obvious thing to do would be to raise AC_PREREQ to 2.64
in configure.ac. But, given the facts that
 - autoconf 2.64 is not available for RHEL/CentOS 6,
 - the only need is one small macro,
it's better to just add the missing macro.

While at it, add the m4_ifnblank, too.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
m4/ul.m4