emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6684d3af3b0 1/2: Don't use // substitution in `ndk_resolve_import


From: Po Lu
Subject: master 6684d3af3b0 1/2: Don't use // substitution in `ndk_resolve_import_module'
Date: Tue, 15 Aug 2023 02:22:17 -0400 (EDT)

branch: master
commit 6684d3af3b03e4d30d83510e43b85004adb874d2
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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)
---
 m4/ndk-build.m4 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]