[Opendnssec-develop] Re: [OpenDNSSEC] #231: Configure fails on mysql_version substitution

Olaf Kolkman olaf at NLnetLabs.nl
Fri May 6 09:17:32 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


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
> }}}




ACK.


- --Olaf


________________________________________________________ 

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

iQIcBAEBAgAGBQJNw7yyAAoJEFRqER47aqpkEcQP/047vaVbtzQOab6QG1+aJihT
uUoQTZVykFxFE4g2tBBukFIt41wqymPzSZlMZwqD/Yx/PeLG9hIGxyZUFkI2d13i
nFiRZuFLIkt1AeZRumRFg3LsS0o2+VDz5hwY5yrMsowY4vk8R3yu6pKP6fhJ7GZg
FpfTY1Q2Ic3lQvEeksR/986Wxe3PTjo2chmS2khJ6UgylMdSVsSbAvV3cbDok4eo
N2JJM7iM8Ji86fHD4wwkWyHc0dGyx3WFjjBKHsnQyq6pRQv0e3+0E9li3r6BVK3k
YvS3VssR5CThCKD3Ii9P4ULcfYa/AsGAM0zZuE+slm+33CmBqR1YnaN/Gtbxan7K
+No5z/w9Bep3LVT6QH6CapfrShdDjm8jENHoY525Ip9UcqRS8yfbG8v+r8zSq1Ty
Qhok3epKe9k662q8mO71FLEH7Z3VZuHxsNs3fbDaI7XbGbXNmn4JAdEGYGhQ3gEb
0ICTUgyObNsDnXt2dzQoRIItFNomoal5O8FiPAhqrhYo+N0tx742UBovSFy1l/a1
2Lh26IfupSXl668YBpiWELqZeYQkcX5NnGkMcrJoLSq51FZYcCsLUMPKLVccWfE3
uWMTNG+o7BYgzjFs9SwzeptL+BbCa6dlKLSZ75UeabMWrtuTRMUvIMMdv/rNJGpJ
J4WrfTFUv5aR/i9dMKQM
=CC0f
-----END PGP SIGNATURE-----



More information about the Opendnssec-develop mailing list