Commit 9fc77489 authored by John Peterson's avatar John Peterson Committed by Jean-Baptiste Kempf

MSYS build fix: escape backslash in whoami

whoami need to escape the backslash in 'pc\user' otherwise src/version.c can't compile.
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
(cherry picked from commit 126d1ccc2c3d3faf6ec8e2bf53bae73273025098)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 80879ae6
...@@ -4179,7 +4179,7 @@ AC_SUBST(VERSION_MINOR) ...@@ -4179,7 +4179,7 @@ AC_SUBST(VERSION_MINOR)
AC_SUBST(VERSION_REVISION) AC_SUBST(VERSION_REVISION)
AC_SUBST(VERSION_EXTRA) AC_SUBST(VERSION_EXTRA)
AC_SUBST(COPYRIGHT_YEARS) AC_SUBST(COPYRIGHT_YEARS)
AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "`whoami`", [user who ran configure]) AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "`whoami|sed -e's/\\\/\\\\\\\/g'`", [user who ran configure])
AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname -f 2>/dev/null || hostname`", [host which ran configure]) AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname -f 2>/dev/null || hostname`", [host which ran configure])
AC_DEFINE_UNQUOTED(VLC_COMPILER, "`$CC -v 2>&1 | tail -n 1`", [compiler]) AC_DEFINE_UNQUOTED(VLC_COMPILER, "`$CC -v 2>&1 | tail -n 1`", [compiler])
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment