language check in configure.in was causing command line overflow issue
This commit is contained in:
11
configure.in
11
configure.in
@@ -8877,9 +8877,14 @@ for lang in $WITH_LANG ; do
|
|||||||
test "$lang" = "ALL" && continue;
|
test "$lang" = "ALL" && continue;
|
||||||
test "$lang" = "kid" && continue;
|
test "$lang" = "kid" && continue;
|
||||||
# need to check for the exact string, so add space before and after the list of all languages
|
# need to check for the exact string, so add space before and after the list of all languages
|
||||||
all_langs=" $ALL_LANGS "
|
for vl in $ALL_LANGS ; do
|
||||||
test `echo "$all_langs" | sed "s|.* $lang .*|found|"` = "found" && continue;
|
if test "$vl" = "$lang" ; then
|
||||||
AC_MSG_ERROR([invalid language: $lang; supported languages are: $ALL_LANGS])
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if test "$vl" != "$lang" ; then
|
||||||
|
AC_MSG_ERROR([invalid language: $lang; supported languages are: $ALL_LANGS])
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
# list with substituted ALL
|
# list with substituted ALL
|
||||||
WITH_LANG_LIST=`echo $WITH_LANG | sed "s/ALL/$ALL_LANGS/"`
|
WITH_LANG_LIST=`echo $WITH_LANG | sed "s/ALL/$ALL_LANGS/"`
|
||||||
|
Reference in New Issue
Block a user