]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't use // substitution in `ndk_resolve_import_module'
authorPo Lu <luangruo@yahoo.com>
Tue, 15 Aug 2023 06:19:56 +0000 (14:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 15 Aug 2023 06:19:56 +0000 (14:19 +0800)
* m4/ndk-build.m4 (ndk_resolve_import_module): Stop testing if
ndk_commands is empty; just eval it.  (bug#65292)

m4/ndk-build.m4

index 8769e294452b6c2c5d797c60c7df276a8a6cb996..ab4e88ca168d80168cf11728c238522755d305ae 100644 (file)
@@ -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;