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 <tiwai@suse.de>
This commit is contained in:
Simon McVittie 2010-10-08 09:06:58 +01:00 committed by Takashi Iwai
parent 443c105737
commit 5cfa03d2f3

View file

@ -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