From a6d9c1ff9eecc72ae13f3022f2fcddefb1487a84 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Tue, 10 Apr 2001 21:08:08 +0000 Subject: [PATCH] Use `` instead of $() for portability. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3922 57a11ea4-9604-0410-9ed3-97b8803252fd --- macros/gnome-print-check.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/macros/gnome-print-check.m4 b/macros/gnome-print-check.m4 index 50db430b9e..968fcc01c2 100644 --- a/macros/gnome-print-check.m4 +++ b/macros/gnome-print-check.m4 @@ -20,10 +20,10 @@ 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 "$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/') + 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 if test "$major" -gt "$rqmajor"; then AC_MSG_RESULT("found $major.$minor")