hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Thu Aug 28 02:08:32 PDT 2008


 configure.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9e257137b2e699443358b0575cf881c84b75e617
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Thu Aug 28 11:04:07 2008 +0200

    fixed wrong condition in libsmbios checks
    
    Fixed wrong conditions for version check of libsmbios, introduced
    with commit 1852641290ec7c0f75e85ba8ef794c0e74923677.

diff --git a/configure.in b/configure.in
index 87cd285..f7d235d 100644
--- a/configure.in
+++ b/configure.in
@@ -419,7 +419,7 @@ if test "x$use_smbios" = "xyes" ; then
         		if ( sscanf( LIBSMBIOS_RELEASE_VERSION , "%d.%d.%d", &major, &minor, &micro ) == 3 ) {
 	    		    if ((major == 0 && minor == 13 && micro >= 4) ||
                		       (major == 0 && minor > 13) ||
-               		       (major >= 0)) {
+               		       (major > 0)) {
 			         return 0;
 	    		    }
 			}
@@ -444,7 +444,7 @@ if test "x$use_smbios" = "xyes" ; then
         		if ( sscanf( LIBSMBIOS_RELEASE_VERSION , "%d.%d.%d", &major, &minor, &micro ) == 3 ) {
 	    		    if ((major == 2 && minor == 0 && micro >= 3) ||
                		       (major == 2 && minor > 0) ||
-               		       (major >= 2)) {
+               		       (major > 2)) {
 			         return 0;
 	    		    }
 			}


More information about the hal-commit mailing list