[vlc-commits] Remove trailing spaces from compiler string

Christoph Miebach git at videolan.org
Sat Jun 30 10:57:18 CEST 2012


vlc | branch: master | Christoph Miebach <christoph.miebach at web.de> | Fri Jun 29 00:43:13 2012 +0200| [c5f6aef2b8ad539c59c8915e06c062c607398674] | committer: Rafaël Carré

Remove trailing spaces from compiler string

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5f6aef2b8ad539c59c8915e06c062c607398674
---

 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index da7a386..3fecbaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4128,9 +4128,9 @@ AC_SUBST(VERSION_MINOR)
 AC_SUBST(VERSION_REVISION)
 AC_SUBST(VERSION_EXTRA)
 AC_SUBST(COPYRIGHT_YEARS)
-AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "`whoami|sed -e's/\\\/\\\\\\\/g'`", [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_COMPILER, "`$CC -v 2>&1 | tail -n 1`", [compiler])
+AC_DEFINE_UNQUOTED(VLC_COMPILER, "`$CC -v 2>&1 | tail -n 1 | sed -e 's/ *$//'`", [compiler])
 dnl
 dnl  Handle substvars that use $(top_srcdir)
 dnl



More information about the vlc-commits mailing list