[vlc-commits] [Git][videolan/vlc][master] 2 commits: configure.ac: use quotes for variable assignation

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu May 30 16:46:49 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9533f89f by Alexandre Janniaux at 2024-05-30T16:28:53+00:00
configure.ac: use quotes for variable assignation

- - - - -
5e2724f5 by Alexandre Janniaux at 2024-05-30T16:28:53+00:00
configure.ac: remove x-test checks

The variable is already quoted so there's no need to x-test them.

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -583,7 +583,7 @@ AS_IF([test -n "${CONTRIB_DIR}"], [
   PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:${CONTRIB_DIR}/share/pkgconfig:${PKG_CONFIG_PATH}"
   case "${build_os}" in
       mingw32)
-          export PKG_CONFIG_PATH=`cygpath -mp ${PKG_CONFIG_PATH}`
+          export PKG_CONFIG_PATH="$(cygpath -mp "${PKG_CONFIG_PATH}")"
       ;;
       *)
           export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}"
@@ -615,8 +615,8 @@ AC_SUBST([CONTRIB_DIR])
 dnl Add extras/tools to the PATH
 TOOLS_DIR="${srcdir}/extras/tools/build/bin"
 AS_IF([test -d "${TOOLS_DIR}"], [
-    TOOLS_DIR=`cd "${TOOLS_DIR}" && pwd`
-    export PATH="${TOOLS_DIR}":$PATH
+    TOOLS_DIR="$(cd "${TOOLS_DIR}" && pwd)"
+    export PATH="${TOOLS_DIR}:$PATH"
 ])
 
 dnl
@@ -1454,7 +1454,7 @@ AS_IF([test "${SYS}" = "mingw32"], [
         break
       fi
     done
-    AS_IF([test "x${win32_path_cmd}" != "xno"],[
+    AS_IF([test "${win32_path_cmd}" != "no"],[
       WIN32_PATH_CMD=${win32_path_cmd}
       AC_MSG_RESULT([using '${win32_path_cmd}'])
     ],[



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/239eafa8b1a9a8f3e9d830232e09fba4675d705a...5e2724f55ca7684b5c60020f94978968792db430

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/239eafa8b1a9a8f3e9d830232e09fba4675d705a...5e2724f55ca7684b5c60020f94978968792db430
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list