--- elfutils-0.143/configure.ac +++ elfutils-0.143/configure.ac @@ -259,7 +259,7 @@ # 1.234 -> 1234 case "$PACKAGE_VERSION" in -[[0-9]].*) eu_version="${PACKAGE_VERSION/./}" ;; +[[0-9]].*) eu_version="`echo $PACKAGE_VERSION | sed -e 's/\.//'`" ;; *) AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;; esac case "$eu_version" in @@ -288,6 +288,6 @@ esac # Round up to the next release API (x.y) version. -[eu_version=$[($eu_version + 999) / 1000]] +[eu_version=$(( ($eu_version + 999) / 1000 ))] AC_OUTPUT