]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool.m4: Replace '${COMSPEC-cmd}' with 'cmd'
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 10 Jul 2025 17:52:42 +0000 (20:52 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 10 Jul 2025 17:53:24 +0000 (20:53 +0300)
m4/libtool.m4

index 1aebb983c4e6e1a7114e2d9410a22d88cfed4ced..48e47748be96988b51014318d99ce7623397adeb 100644 (file)
@@ -8738,7 +8738,7 @@ AS_CASE([$host],
           AC_MSG_CHECKING([whether to use cmd with one slash or two slashes])
           AC_CACHE_VAL([lt_cv_cmd_slashes],
             [
-              _lt_result=`"${COMSPEC-cmd}" /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
+              _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
               AS_IF([test 0 != $?],
                 [AC_MSG_ERROR([Do not know how to convert paths])])
               AS_CASE([$_lt_result],