From f9eb656383a6b45b838cc597681347a70d796ceb Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 12 Jul 2000 23:10:48 +0000 Subject: Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions 2000-07-12 Federico Mena Quintero * configure.in: Make gnome-print-0.20 mandatory. We will bail out with CVS HEAD versions to avoid breakage. svn path=/trunk/; revision=4129 --- configure.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 4e90fec199..da4f2523e8 100644 --- a/configure.in +++ b/configure.in @@ -193,17 +193,16 @@ fi dnl ************************************************** dnl * Print check dnl ************************************************** -AC_MSG_CHECKING(for GnomePrint libraries >= 0.20) +AC_MSG_CHECKING(for GnomePrint libraries version 0.20) if gnome-config --libs print > /dev/null 2>&1; then - vers=`gnome-config --modversion print | sed -e "s/gnome-print-//" | \ - awk 'BEGIN { FS = "."; } { print $1 * 1000 + $2;}'` - if test "$vers" -ge 13; then + vers=`gnome-config --modversion print | sed -e "s/gnome-print-//"` + if test "$vers" = "0.20"; then AC_MSG_RESULT(found) else - AC_MSG_ERROR(You need at least GNOME print 0.13) + AC_MSG_ERROR(Please make sure you are using the released version of gnome-print-0.20. Please note that CVS HEAD versions will not work.) fi else - AC_MSG_ERROR(Did not find GnomePrint installed) + AC_MSG_ERROR(Did not find GnomePrint installed. Please make sure you are using the released version of gnome-print-0.20. Please note that CVS HEAD versions will not work.) fi GNOME_PRINT_LIBS=`gnome-config --libs print` GNOME_PRINT_CFLAGS=`gnome-config --cflags print` -- cgit