From 9fa4bd9bf4233c3f9ba0963cf61dd65493c688ce Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 19 May 2011 20:11:59 +0000 Subject: [PATCH] attempt to make GUILE_VERSION testing a bit more robust --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index fe141b502..bb932c282 100644 --- a/configure.ac +++ b/configure.ac @@ -679,11 +679,11 @@ else [GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* \+\([0-9\.]\+\)$/\1/ p'`] GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1` GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2` - if test $GUILE_VERSION_MAJOR -lt 2; then - if test $GUILE_VERSION_MAJOR -lt 1; then + if test 0$GUILE_VERSION_MAJOR -lt 2; then + if test 0$GUILE_VERSION_MAJOR -lt 1; then GUILE= else - if test $GUILE_VERSION_MINOR -lt 4; then + if test 0$GUILE_VERSION_MINOR -lt 4; then GUILE= fi fi -- 2.40.0