mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use `` instead of $() for portability.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3922 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user