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 be7ecb6..8edd0ca 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["]
   ])
 ])