[Opendnssec-develop] Re: [OpenDNSSEC] #231: Configure fails on mysql_version substitution
Olaf Kolkman
olaf at NLnetLabs.nl
Fri May 6 12:16:22 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes it seems so
On May 6, 2011, at 9:05 AM, OpenDNSSEC wrote:
> #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
________________________________________________________
Olaf M. Kolkman NLnet Labs
http://www.nlnetlabs.nl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: This message is locally signed.
Comment: GPGTools - http://gpgtools.org
iQIcBAEBAgAGBQJNw+aWAAoJEFRqER47aqpkc34P/jj3V68Ym4QXJgIMHXJaf2XO
YSBhNCOM9Y9Mouv/PTsD/3yDxg1JZm5Oqb7K6WMvrIL47TPevGoZ70M5b+FDmlz4
eIhGZQdUd5zyDsL5Ayo3UdxjWc+/fxs5u5RSSuEalx2ug7uvy9qFtOrt43Wox2KF
FwnEQosQPzKyppbh1AmsuhcbtqEDXcW4m45ynWiJZN6wMxhqTv5U3+vamI8VFgCf
iLlCbIB5GV5j3zYUw1fk9YR58bTO7e8PRHFlyt8mw8aRPLVSu5HFHTyUGLw0mv3q
ZBnmRtSz86HvY6PPT/xSRtTTLnQtNtI0QDp9upJo1l6V8eu+CJX8Qw4mDLHnVbKh
x1FRYTilSvcfX8lNcIcBjhwTUyqDNfSyRCaGGQb2MC4RNrCkAImpV0UP5gmF7h8c
PczGLSeF5bELC9MqcMhKGVPa8FHN/4VxN5yEq8CoLvjqdsy21ItLSs4oMUGgL91y
5TaR8sC/uSZ7WyPTsypcEDSqykx5842oD2grexG9R8y9w8cyOVD8xS6wM+VXUSky
79JT/3ibaK1Fr0A5B0ObF42Zmkvd4BlTF13yGL+o+PwTwbNte1uzuJHdDdl6yKPy
Ra5lZr/hE7SWM8aEMohQYgJnJITu9jZ9VrONWRPgWJNiybQeMkuHLfOHaYV0kizg
WGLa3jFJrIT9JMOzZIZx
=mWIh
-----END PGP SIGNATURE-----
More information about the Opendnssec-develop
mailing list