[PHP-DEV] CVS update: php3 From: ssb (php-dev <email protected>)
Date: 04/28/98

Date: Tuesday April 28, 1998 @ 5:43
Author: ssb

Update of /repository/php3
In directory asf:/tmp/cvs-serv18045

Modified Files:
        configure.in
Log Message:
turn the bison errors into warnings

Index: php3/configure.in
diff -c php3/configure.in:1.192 php3/configure.in:1.193
*** php3/configure.in:1.192 Fri Apr 24 10:43:11 1998
--- php3/configure.in Tue Apr 28 05:43:13 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.192 1998/04/24 14:43:11 rasmus Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.193 1998/04/28 09:43:13 ssb Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
***************
*** 16,27 ****
  dnl Checks for programs.
  AC_PROG_YACC
  if test "$YACC" != "bison -y"; then
! AC_MSG_ERROR(You need bison to compile PHP 3.0.)
  else
      AC_MSG_CHECKING(bison version)
      set `bison --version| sed -e 's/^GNU Bison version //' -e 's/\./ /'`
      if test "$1" = "1" -a "$2" -lt "25"; then
! AC_MSG_ERROR(PHP 3.0 requires bison 1.25 or later (found $1.$2).)
      fi
      AC_MSG_RESULT($1.$2 (ok))
  fi
--- 16,27 ----
  dnl Checks for programs.
  AC_PROG_YACC
  if test "$YACC" != "bison -y"; then
! AC_MSG_WARN(You need bison to compile PHP 3.0.)
  else
      AC_MSG_CHECKING(bison version)
      set `bison --version| sed -e 's/^GNU Bison version //' -e 's/\./ /'`
      if test "$1" = "1" -a "$2" -lt "25"; then
! AC_MSG_WARN(PHP 3.0 requires bison 1.25 or later (found $1.$2).)
      fi
      AC_MSG_RESULT($1.$2 (ok))
  fi