]> git.sesse.net Git - vlc/commitdiff
Fix totally broken configure
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Feb 2010 00:51:17 +0000 (01:51 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Feb 2010 00:54:38 +0000 (01:54 +0100)
Yeah, changing the behaviour about -l flags without explaning why nor changing the configure.ac accordingly was a good idea...

m4/vlc.m4

index c4c738fce538facf25e2aab505b4bd2d6785a9a6..be7ecb689dbf1fbf64fff214cdf32a0d72a3c0ba 100644 (file)
--- 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["]
   ])
 ])