Source: mlv
Version: 3.1.0-6
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Hi,
since the upload of dash 0.5.11+git20210903+057cd650a4ed-2 yesterday,
mlv FTBFS with:
./configure: 8146: test: xFrench: unexpected operator
./configure: 8146: test: xEnglish: unexpected operator
./configure: 8146: test: xSpanish: unexpected operator
configure: error: Unknown or unsupported Language "French". Only "French
English Spanish" are supported in this version of this library.
The reason is a bashism in configure.ac. The attached patch fixes the problem.
Thanks!
cheers, josch
--- a/configure.ac
+++ b/configure.ac
@@ -205,7 +205,7 @@ AC_ARG_ENABLE([language],
for i in ${LANGUAGES}
do
- if test x$i == x${language}
+ if test x$i = x${language}
then
AC_SUBST([INSTALL_LANGUAGE],[${language}])
fi