]> git.sesse.net Git - vlc/commitdiff
m4: be more safe about quotes
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Feb 2010 01:16:00 +0000 (02:16 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 4 Feb 2010 01:16:16 +0000 (02:16 +0100)
m4/vlc.m4

index be7ecb689dbf1fbf64fff214cdf32a0d72a3c0ba..8edd0cad0a2e5d718ab1373c40ac643518352369 100644 (file)
--- a/m4/vlc.m4
+++ b/m4/vlc.m4
@@ -55,7 +55,7 @@ AC_DEFUN([VLC_ADD_LDFLAGS], [
 
 AC_DEFUN([VLC_ADD_LIBS], [
   m4_foreach_w([element], [$1], [
-    [eval "LIBS_]element[="'"$2 $'"{LIBS_]element[}"'"']
+    [eval "LIBS_]element[="'"'"$2 "'$'"{LIBS_]element[}"'"']
     [am_modules_with_libs="${am_modules_with_libs} ]element["]
   ])
 ])