summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-04-19 16:07:45 -0700
committerRoland McGrath <roland@redhat.com>2009-04-19 16:07:45 -0700
commit105e3984c2dc5f8f60875dc80e9e06480e186900 (patch)
tree006234c6b089ca81d4c2808bc77f546f57d4de7f /configure.ac
parent6efdf25763bce261ca3f99e235bfbef87bf6eb98 (diff)
downloadelfutils-105e3984c2dc5f8f60875dc80e9e06480e186900.tar.gz
Fiddle version.h magic back, so all the computation is in configure.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c074e973..aeb40d11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -290,4 +290,7 @@ case "$eu_version" in
*) AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;;
esac
+# Round up to the next release API (x.y) version.
+[eu_version=$[($eu_version + 999) / 1000]]
+
AC_OUTPUT