aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2020-09-05 19:38:07 -0700
committerH. Peter Anvin <hpa@zytor.com>2020-09-05 19:38:07 -0700
commit8837675852ecd7a5c743186af7a4bc7073c14810 (patch)
tree122d1444b630a8fee0850ae386013f2b648ef766
parent4c418322ca96f83b746775906db72dddc80c0169 (diff)
downloadabcdisk-8837675852ecd7a5c743186af7a4bc7073c14810.tar.gz
abcdisk-8837675852ecd7a5c743186af7a4bc7073c14810.tar.xz
abcdisk-8837675852ecd7a5c743186af7a4bc7073c14810.zip
configure.ac: fix harmless warnings when --with-libsndfile not specified
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 81d08ce..36defa4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ AC_ARG_WITH([libsndfile],
AS_HELP_STRING([--with-libsndfile=dir],
[location of libsndfile install]))
AS_IF([test x"$with_libsndfile" != xno],
-[AS_IF([test x"$with_libsndfile" != xyes],
+[AS_IF([test x"$with_libsndfile" != x -a x"$with_libsndfile" != xyes],
[for f in "$with_libsndfile"/lib*; do
AS_IF([test -d "$f"], [PA_ADD_LDFLAGS([-L"$f"])])
done