]>
Commit | Line | Data |
---|---|---|
18314a68 | 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 | |
3 | @@ -290,7 +290,7 @@ | |
4 | ||
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']) ;; | |
10 | esac | |
11 | case "$eu_version" in | |
12 | @@ -319,6 +319,6 @@ | |
13 | esac | |
14 | ||
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)) | |
18 | ||
19 | AC_OUTPUT |