]> granicus.if.org Git - postgresql/blobdiff - configure.in
Make bison version test actually work ...
[postgresql] / configure.in
index f5cba505c551610c811ffe8ae075347366114a1a..f70d3d2f723367c4638602db01ad98cfc7cb8a00 100644 (file)
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-dnl $Header: /cvsroot/pgsql/configure.in,v 1.256 2003/06/07 16:32:05 momjian Exp $
+dnl $Header: /cvsroot/pgsql/configure.in,v 1.257 2003/06/09 03:41:46 tgl Exp $
 dnl
 dnl Developers, please strive to achieve this order:
 dnl
@@ -587,11 +587,10 @@ PGAC_CHECK_STRIP
 AC_CHECK_PROGS(YACC, ['bison -y'])
 
 if test "$YACC"; then
-  if "$YACC" --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
+  if $YACC --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
     AC_MSG_WARN([
 *** The installed version of Bison is too old.  PostgreSQL needs
 *** Bison version 1.875 or later.])
-    unset YACC
   fi
 fi