[srm-cvs] CVS Update: - Fix non standard sed rule

From: <d.rethans[@]jdimedia.nl>
Date: Fri Feb 22 2002 - 22:03:36 CET

Date: Fri Feb 22 22:03:35 CET 2002
User: Derick Rethans
Directory: php_srm

Log Message:
 [0.05]
 - Fix non standard sed rule
 
Modified files:
           php_srm/config.m4 (version: 1.7)

[FILE: /php_srm/config.m4]

--- php_srm/config.m4:1.6 Fri Dec 21 14:58:02 2001 GMT
+++ php_srm/config.m4 Fri Feb 22 20:03:35 2002 GMT
@@ -1,11 +1,11 @@
 dnl
-dnl $Id: cvstemp,v 1.6 2001/12/21 15:58:02 derick Exp $
+dnl $Id: cvstemp,v 1.7 2002/02/22 21:03:35 derick Exp $
 dnl
 
 divert(0)dnl
-PHPVERNUM=`grep PHP_VERSION main/php_version.h | cut -d' ' -f3 | sed "s/\"//g" | sed "s/-.*$//;s/RC.*$//i" | sed "s/\.//g"`
-if test "$PHPVERNUM" -lt "410"; then
- AC_MSG_ERROR(You need >= PHP 4.1.0 to use the SRM extension!)
+PHPVERNUM=`grep PHP_VERSION main/php_version.h | cut -d' ' -f3 | sed "s/\"//g" | sed "s/-.*$//;s/(RC)|(rc).*$//" | sed "s/\.//g"`
+if test "$PHPVERNUM" -lt "420"; then
+ AC_MSG_ERROR(You need >= PHP 4.2.0 to use the SRM extension!)
 fi
 divert(4)dnl
 
Received on Fri Feb 22 22:03:43 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 13:00:02 CET