1 --- evince-0.1.6/configure.ac.wiget 2005-03-05 15:34:24.868628085 +0100
2 +++ evince-0.1.6/configure.ac 2005-03-05 15:46:37.530335700 +0100
5 dnl check for GS version
6 AC_MSG_CHECKING(for Ghostscript version...)
7 -GS_VERSION=`gs --version | head -n 1 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
8 +GS_VERSION=`gs --version 2>&1| head -n 1 | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
9 AC_MSG_RESULT(found $GS_VERSION)
10 if test "$GS_VERSION" -lt "7"; then
11 AC_MSG_ERROR([You need Ghostscript version >= 7 in order to run evince])