Don't hardcode echo -n
svn path=/trunk/; revision=18889
This commit is contained in:
@ -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>
|
2007-10-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c: Clean up issues around
|
* modules/input/gtkimcontextxim.c: Clean up issues around
|
||||||
|
|||||||
@ -1557,8 +1557,8 @@ if test "x$CUPS_CONFIG" != "xno"; then
|
|||||||
CUPS_LIBS=`cups-config --libs`
|
CUPS_LIBS=`cups-config --libs`
|
||||||
|
|
||||||
CUPS_API_VERSION=`cups-config --api-version`
|
CUPS_API_VERSION=`cups-config --api-version`
|
||||||
CUPS_API_MAJOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $1}'`
|
CUPS_API_MAJOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $1}'`
|
||||||
CUPS_API_MINOR=`echo -n $CUPS_API_VERSION | awk -F. '{print $2}'`
|
CUPS_API_MINOR=`$as_echo_n $CUPS_API_VERSION | awk -F. '{print $2}'`
|
||||||
|
|
||||||
if test $CUPS_API_MAJOR -gt 1 -o \
|
if test $CUPS_API_MAJOR -gt 1 -o \
|
||||||
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 2; then
|
$CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -ge 2; then
|
||||||
|
|||||||
Reference in New Issue
Block a user