diff options
author | Jaka Mocnik <jaka@gnu.org> | 2001-04-16 09:30:54 +0000 |
---|---|---|
committer | Jaka Mocnik <jaka@src.gnome.org> | 2001-04-16 09:30:54 +0000 |
commit | 06598487dbe14b3ca360ecd65f5d8a32d11692ff (patch) | |
tree | 56e99a3796075fb134a10bd0adc3afc86917b8fa /macros | |
parent | 06b6d96d6f6029693b4df35000edcb4a42b3f72a (diff) | |
download | shared-mime-info-06598487dbe14b3ca360ecd65f5d8a32d11692ff.tar.gz |
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=1661
Diffstat (limited to 'macros')
-rw-r--r-- | macros/ChangeLog | 5 | ||||
-rw-r--r-- | macros/gnome-print-check.m4 | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog index f273319c..73cece27 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,3 +1,8 @@ +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. + 2001-03-01 JP Rosevear <jpr@ximian.com> * gnome-pilot.m4: quote a test and make sure incdir is always set diff --git a/macros/gnome-print-check.m4 b/macros/gnome-print-check.m4 index c5f0fe39..49fd6c60 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") |