aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-print-check.m4
diff options
context:
space:
mode:
authorJaka Mocnik <jaka@gnu.org>2001-04-16 17:30:54 +0800
committerJaka Mocnik <jaka@src.gnome.org>2001-04-16 17:30:54 +0800
commit75a16468d369f58587f27ab4655fbe1c1091fc95 (patch)
tree409cb6e702384a13d61110cd17e100c8a2ba1479 /macros/gnome-print-check.m4
parent819a11d2fc2b50868787edd3760f902020b59a99 (diff)
downloadgsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar.gz
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar.bz2
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar.lz
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar.xz
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.tar.zst
gsoc2013-evolution-75a16468d369f58587f27ab4655fbe1c1091fc95.zip
change $(cmd) to `cmd` in order to make it usable in non-bash bourne
2001-04-16 Jaka Mocnik <jaka@gnu.org> * gnome-print-check.m4: change $(cmd) to `cmd` in order to make it usable in non-bash bourne shells. svn path=/trunk/; revision=9341
Diffstat (limited to 'macros/gnome-print-check.m4')
-rw-r--r--macros/gnome-print-check.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/gnome-print-check.m4 b/macros/gnome-print-check.m4
index c5f0fe39e8..49fd6c6061 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 "$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")