#i10000# Fix for last fix (gperf version check).

This commit is contained in:
Rüdiger Timm 2008-01-28 08:49:02 +00:00
parent 6b797a2f60
commit 99a483c301

View file

@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et:
dnl *
dnl * Name: configure.in
dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
dnl * Date: $Date: 2008-01-28 09:27:07 $
dnl * Date: $Date: 2008-01-28 09:49:02 $
dnl *
dnl * Desc: This file serves as input for the GNU autoconf package
dnl * in order to create a configure script.
@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org
dnl *
dnl *
dnl ******************************************************************/
AC_REVISION( $Revision: 1.243 $ )
AC_REVISION( $Revision: 1.244 $ )
AC_PREREQ(2.50)
AC_INIT()
echo "$@" >config.parms
@ -2982,7 +2982,7 @@ if test -z "$GPERF"; then
AC_MSG_ERROR([gperf not found but needed. Install it.])
fi
AC_MSG_CHECKING([gperf version])
if test "`$GPERF --version | $GREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
AC_MSG_RESULT([OK])
else
AC_MSG_ERROR([too old, you need at least 3.0.0])