Commit d4c1ba47 authored by Morten Welinder's avatar Morten Welinder

D*mn hpux.

parent 97919935
......@@ -251,8 +251,9 @@ dnl gtk+ checking
dnl ******************************
AC_MSG_CHECKING(for GTK >= 1.2.2)
if gtk-config --version > /dev/null 2>&1; then
vers=`gtk-config --version | awk 'BEGIN { FS = "."; } { print ($1 * 1000 + $2) * 1000 + $3;}'`
if test "$vers" -ge 1002002; then
dnl We need the "%d" in order not to get e-notation on hpux.
vers=`gtk-config --version | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
if test "$vers" -ge 10202; then
AC_MSG_RESULT(found)
else
AC_MSG_ERROR(You need at least GTK+ 1.2.2 for this version of Gnumeric)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment