From 3d52f276b1519538ef6fe97cd9850f9796a71b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Crozat?= Date: Tue, 24 Jul 2001 07:39:00 +0000 Subject: Correct minimal version test * gnome-print-check.m4 (AM_PATH_GNOME_PRINT): Correct minimal version test svn path=/trunk/; revision=11338 --- macros/gnome-print-check.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros/gnome-print-check.m4') diff --git a/macros/gnome-print-check.m4 b/macros/gnome-print-check.m4 index 49fd6c6061..968fcc01c2 100644 --- a/macros/gnome-print-check.m4 +++ b/macros/gnome-print-check.m4 @@ -20,8 +20,8 @@ AC_DEFUN([AM_PATH_GNOME_PRINT], else AC_MSG_CHECKING(for GNOME-PRINT - version >= $min_version) if `$GNOME_CONFIG --libs print > /dev/null 2>&1`; then - rqmajor=`echo "$1" | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` - rqminor=`echo "$1" | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` + rqmajor=`echo "$min_version" | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` + rqminor=`echo "$min_version" | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` major=`$GNOME_CONFIG --modversion print | sed -e 's/gnome-print-//' | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` minor=`$GNOME_CONFIG --modversion print | sed -e 's/gnome-print-//' | sed -e 's/cvs-//' | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` if test "$major" -ge "$rqmajor"; then -- cgit v1.2.3