From: Jean-Baptiste Kempf Date: Thu, 4 Feb 2010 00:51:17 +0000 (+0100) Subject: Fix totally broken configure X-Git-Tag: 1.1.0-ff~455 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7126c75fb3988b789e1d27c3cd2e9d24668ea07c;p=vlc Fix totally broken configure Yeah, changing the behaviour about -l flags without explaning why nor changing the configure.ac accordingly was a good idea... --- diff --git a/m4/vlc.m4 b/m4/vlc.m4 index c4c738fce5..be7ecb689d 100644 --- a/m4/vlc.m4 +++ b/m4/vlc.m4 @@ -48,14 +48,14 @@ AC_DEFUN([VLC_ADD_OBJCFLAGS], [ AC_DEFUN([VLC_ADD_LDFLAGS], [ m4_foreach_w([element], [$1], [ - [eval "LDFLAGS_]element[="'"$'"{LDFLAGS_]element[} $2"'"'] + [eval "LDFLAGS_]element[="'"$2 $'"{LDFLAGS_]element[}"'"'] [am_modules_with_ldflags="${am_modules_with_ldflags} ]element["] ]) ]) AC_DEFUN([VLC_ADD_LIBS], [ m4_foreach_w([element], [$1], [ - [eval "LIBS_]element[="'"$'"{LIBS_]element[} $2"'"'] + [eval "LIBS_]element[="'"$2 $'"{LIBS_]element[}"'"'] [am_modules_with_libs="${am_modules_with_libs} ]element["] ]) ])