Don't hardcode echo -n

svn path=/trunk/; revision=18889
This commit is contained in:
Matthias Clasen 2007-10-07 18:22:39 +00:00
parent 35dc88e778
commit 641d5ad4f8
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-10-07 Matthias Clasen <mclasen@redhat.com>
* configure.in: Don't hardcode use of echo -n. (#484008)
2007-10-07 Matthias Clasen <mclasen@redhat.com>
* modules/input/gtkimcontextxim.c: Clean up issues around

View File

@ -1557,8 +1557,8 @@ if test "x$CUPS_CONFIG" != "xno"; then
CUPS_LIBS=`cups-config --libs`
CUPS_API_VERSION=`cups-config --api-version`
CUPS_API_MAJOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $1}'`
CUPS_API_MINOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $2}'`
CUPS_API_MAJOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $1}'`
CUPS_API_MINOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $2}'`
if test $CUPS_API_MAJOR -gt 1 -o \
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 2; then