SOURCES: netmrg-bashizm.patch (NEW) - alternate (POSIX sh compliant) MYSQL_...
gotar
gotar at pld-linux.org
Tue Sep 23 16:04:19 CEST 2008
Author: gotar Date: Tue Sep 23 14:04:19 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- alternate (POSIX sh compliant) MYSQL_VERSION < 4.0 detection
---- Files affected:
SOURCES:
netmrg-bashizm.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/netmrg-bashizm.patch
diff -u /dev/null SOURCES/netmrg-bashizm.patch:1.1
--- /dev/null Tue Sep 23 16:04:20 2008
+++ SOURCES/netmrg-bashizm.patch Tue Sep 23 16:04:13 2008
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2008-03-27 01:55:37.000000000 +0100
++++ configure.ac 2008-09-23 14:30:28.000000000 +0200
+@@ -197,7 +197,7 @@
+
+ # now that we've found the libraries, check for MySQL < 4.0
+ MYSQL_VERSION=$($MYSQL_CONFIG --version)
+-if test "x${MYSQL_VERSION//.*/}" = "x3"; then
++if test "$MYSQL_VERSION" != "${MYSQL_VERSION#3}"; then
+ AC_DEFINE(OLD_MYSQL, 1, [Old MySQL version])
+ fi
+
================================================================
More information about the pld-cvs-commit
mailing list