[Opendnssec-develop] Re: [OpenDNSSEC] #231: Configure fails on mysql_version substitution
OpenDNSSEC
owner-dnssec-trac at kirei.se
Fri May 6 07:05:23 UTC 2011
#231: Configure fails on mysql_version substitution
------------------------------+---------------------------------------------
Reporter: Olaf@… | Owner: rb
Type: defect | Status: new
Priority: major | Component: Unknown
Version: trunk | Resolution:
Keywords: configure |
------------------------------+---------------------------------------------
Comment (by rb):
Perhaps this is better?
{{{
Index: OpenDNSSEC/m4/acx_mysql.m4
===================================================================
--- OpenDNSSEC/m4/acx_mysql.m4 (revision 5033)
+++ OpenDNSSEC/m4/acx_mysql.m4 (working copy)
@@ -17,8 +17,9 @@
if test -x "$MYSQL_CONFIG"; then
AC_MSG_CHECKING(mysql version)
MYSQL_VERSION="`$MYSQL_CONFIG --version`"
+ MYSQL_VERSION_MAJOR=`echo "$MYSQL_VERSION" | sed -e
's/\..*//'`
AC_MSG_RESULT($MYSQL_VERSION)
- if test ${MYSQL_VERSION//.*/} -le 4 ; then
+ if test ${MYSQL_VERSION_MAJOR} -le 4 ; then
AC_MSG_ERROR([mysql must be newer than 5.0.0])
fi
}}}
--
Ticket URL: <http://trac.opendnssec.org/ticket/231#comment:3>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC
More information about the Opendnssec-develop
mailing list