Commit 2ea07ec6 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Fix version check. Need to fix all other version checks also.

2000-01-13  Morten Welinder  <terra@diku.dk>

	* configure.in (GTK): Fix version check.  Need to fix all other
 	version checks also.
parent 5bc16030
2000-01-13 Morten Welinder <terra@diku.dk>
* configure.in (GTK): Fix version check. Need to fix all other
version checks also.
2000-01-14 Nick Lamb <njl195@zepler.org.uk>
* doc/C/images/*.png: New screenshots for documentation, part 1/2
......
2000-01-13 Morten Welinder <terra@diku.dk>
* configure.in (GTK): Fix version check. Need to fix all other
version checks also.
2000-01-14 Nick Lamb <njl195@zepler.org.uk>
* doc/C/images/*.png: New screenshots for documentation, part 1/2
......
......@@ -253,14 +253,14 @@ 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`
case x$vers
in
x1.2.[[234567]]) AC_MSG_RESULT(found) ;;
*) AC_MSG_ERROR(You need at least gtk+ 1.2.2 for this version of Gnumeric) ;;
esac
vers=`gtk-config --version | awk 'BEGIN { FS = "."; } { print $1 * 10000 + $2 * 100 + $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)
fi
else
AC_MSG_ERROR(Did not find gtk+ installed)
AC_MSG_ERROR(Did not find GTK+ installed)
fi
EXTRA_GNOME_LIBS=`gnome-config --libs gnomeui print libglade $bonobo $gb`
......
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