[vlc-devel] commit: Fix totally broken configure (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Feb 4 01:54:43 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb  4 01:51:17 2010 +0100| [7126c75fb3988b789e1d27c3cd2e9d24668ea07c] | committer: Jean-Baptiste Kempf 

Fix totally broken configure

Yeah, changing the behaviour about -l flags without explaning why nor changing the configure.ac accordingly was a good idea...

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

 m4/vlc.m4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/vlc.m4 b/m4/vlc.m4
index c4c738f..be7ecb6 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["]
   ])
 ])




More information about the vlc-devel mailing list