From: Po Lu Date: Tue, 15 Aug 2023 06:19:56 +0000 (+0800) Subject: Don't use // substitution in `ndk_resolve_import_module' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6684d3af3b03e4d30d83510e43b85004adb874d2;p=emacs.git Don't use // substitution in `ndk_resolve_import_module' * m4/ndk-build.m4 (ndk_resolve_import_module): Stop testing if ndk_commands is empty; just eval it. (bug#65292) --- diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4 index 8769e294452..ab4e88ca168 100644 --- a/m4/ndk-build.m4 +++ b/m4/ndk-build.m4 @@ -152,8 +152,7 @@ ndk_resolve_import_module () { # tree build system sets it to a meaning value, but build files # just use it to test whether or not the NDK is being used. ndk_commands=`ndk_run_test` - - AS_IF([test -n "${ndk_commands//\n }"], [eval "$ndk_commands"]) + eval "$ndk_commands" if test -n "$module_name"; then break;