[vlc-devel] [PATCH] Remove trailing spaces from compiler string
Rafaël Carré
rafael.carre at gmail.com
Thu Jun 28 23:42:59 CEST 2012
> From 3de07e4396a526bfce60b542e7e3cd437f82529e Mon Sep 17 00:00:00 2001
> From: Christoph Miebach <christoph.miebach at web.de>
> Date: Thu, 28 Jun 2012 17:37:05 +0200
> Subject: [PATCH] Remove trailing spaces from compiler string
>
> ---
> configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index da7a386..31c8847 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4130,7 +4130,7 @@ 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_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])
According to the man page there should be a space between -e and the command
More information about the vlc-devel
mailing list