]> git.alsa-project.org Git - alsa-lib.git/commitdiff
configure.in: don't rely on test -a, not all shells support it
authorSimon McVittie <smcv@debian.org>
Fri, 8 Oct 2010 08:06:58 +0000 (09:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Oct 2010 09:05:13 +0000 (11:05 +0200)
Notably, /bin/sh in older Debian and Ubuntu is dash, which doesn't.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
configure.in

index e904956bde6511d2a73246138e0dd64034574a75..c353759d8a2b319bea904a7e4f86fd92bf79a475 100644 (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