From: Simon McVittie Date: Fri, 8 Oct 2010 08:06:58 +0000 (+0100) Subject: configure.in: don't rely on test -a, not all shells support it X-Git-Tag: v1.0.24~17 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5cfa03d2f3a9e6bc62f740640d20bd137b4e3bb5;p=alsa-lib.git configure.in: don't rely on test -a, not all shells support it Notably, /bin/sh in older Debian and Ubuntu is dash, which doesn't. Signed-off-by: Takashi Iwai --- diff --git a/configure.in b/configure.in index e904956b..c353759d 100644 --- a/configure.in +++ b/configure.in @@ -119,7 +119,7 @@ if test "$versioned" = "yes"; then major=`echo $xres | cut -d . -f 1` minor=`echo $xres | cut -d . -f 2` pass=0 - if test $major -eq 1 -a $minor -gt 3; then + if test $major -eq 1 && test $minor -gt 3; then pass=1 else if test $major -gt 1; then