a small patch for gnome-print-check.m4...
- From: Jaka Mocnik <jaka activetools si>
- To: GNOME devel list <gnome-devel-list gnome org>, Martin Baulig <martin home-of-linux org>
- Subject: a small patch for gnome-print-check.m4...
- Date: Sat, 14 Apr 2001 16:03:52 +0200
Jaka Mocnik wrote:
>
> ...is attached
this time it _really_ is attached. sorry.
regards,
jaKa
--
w3: http://pluton.ijs.si/~jaka
email: jaka activetools si
Index: gnome-print-check.m4
===================================================================
RCS file: /cvs/gnome/gnome-common/macros/gnome-print-check.m4,v
retrieving revision 1.10
diff -u -r1.10 gnome-print-check.m4
--- gnome-print-check.m4 2001/02/21 19:34:27 1.10
+++ gnome-print-check.m4 2001/04/14 13:54:59
@@ -20,10 +20,10 @@
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/')
- 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/')
+ 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/'`
+ 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
if test "$major" -gt "$rqmajor"; then
AC_MSG_RESULT("found $major.$minor")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]