1 --- elfutils-0.141/configure.ac# 2009-05-02 14:13:01.000000000 +0200
2 +++ elfutils-0.141/configure.ac 2009-05-02 14:12:53.000000000 +0200
5 # 1.234<whatever> -> 1234<whatever>
6 case "$PACKAGE_VERSION" in
7 -[[0-9]].*) eu_version="${PACKAGE_VERSION/./}" ;;
8 +[[0-9]].*) eu_version="${PACKAGE_VERSION%%.*}${PACKAGE_VERSION#*.}" ;;
9 *) AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;;
15 # Round up to the next release API (x.y) version.
16 -[eu_version=$[($eu_version + 999) / 1000]]
17 +eu_version=$((($eu_version + 999) / 1000))