configure.ac: shell portability fix (test -a)
-a and -o flags for 'test' are not consistently supported across many platforms and not specified by POSIX git-svn-id: https://svn.musicpd.org/mpd/trunk@5240 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
5d79aced8c
commit
8cc1048d72
10
configure.ac
10
configure.ac
@ -588,11 +588,13 @@ if test x$enable_mod = xyes; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$with_zeroconf != xno -a \
|
case $with_zeroconf in
|
||||||
x$with_zeroconf != xavahi -a \
|
no|avahi|bonjour)
|
||||||
x$with_zeroconf != xbonjour; then
|
;;
|
||||||
|
*)
|
||||||
with_zeroconf=auto
|
with_zeroconf=auto
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if test x$with_zeroconf != xno; then
|
if test x$with_zeroconf != xno; then
|
||||||
if test x$with_zeroconf = xauto; then
|
if test x$with_zeroconf = xauto; then
|
||||||
|
Loading…
Reference in New Issue
Block a user