diff --git a/autogen.sh b/autogen.sh diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 25a0f54..4741798 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -34,7 +34,7 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [ ## grab the first version number in --version output. eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '\(^\| \)[0-9][0-9]*\.[0-9]' \ | head -n 1 \ - | tr ' ' '\n' | sed 's/\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g' | grep '\(^\| \)[0-9][0-9]*\.[0-9]' | head -n 1\`\" + | tr ' ' '\n' | sed 's/\([0-9][0-9]*(\.[0-9][0-9]*)*\).*/\1/g' | grep '\(^\| \)[0-9][0-9]*\.[0-9]' | head -n 1\`\" if test -z "$_ver"; then ## If empty, try date [fontforge]