diff options
author | Rhys Ulerich <rhys.ulerich@gmail.com> | 2010-10-14 13:55:13 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-10-14 13:55:13 +0200 |
commit | b2dc1970860e1a1b93918f3e8ae7bda9d5501208 (patch) | |
tree | 137e27663aa47786a13503ef41cd709867704a5f /m4/ax_split_version.m4 | |
parent | ac718b83fd35aa344a536847ce73ce073529d2b9 (diff) | |
download | autoconf-archive-b2dc1970860e1a1b93918f3e8ae7bda9d5501208.tar.gz |
AX_SPLIT_VERSION: add AC_PROG_SED as a prerequisite
Diffstat (limited to 'm4/ax_split_version.m4')
-rw-r--r-- | m4/ax_split_version.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/ax_split_version.m4 b/m4/ax_split_version.m4 index 5588514..02737c3 100644 --- a/m4/ax_split_version.m4 +++ b/m4/ax_split_version.m4 @@ -22,9 +22,10 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 8 +#serial 9 AC_DEFUN([AX_SPLIT_VERSION],[ + AC_REQUIRE([AC_PROG_SED]) AX_MAJOR_VERSION=`echo "$VERSION" | $SED 's/\([[^.]][[^.]]*\).*/\1/'` AX_MINOR_VERSION=`echo "$VERSION" | $SED 's/[[^.]][[^.]]*.\([[^.]][[^.]]*\).*/\1/'` AX_POINT_VERSION=`echo "$VERSION" | $SED 's/[[^.]][[^.]]*.[[^.]][[^.]]*.\(.*\)/\1/'` |