m4: be more safe about quotes

This commit is contained in:
Jean-Baptiste Kempf 2010-02-04 02:16:00 +01:00
parent 1af9a2da59
commit 1f716cb755

View File

@ -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["]
])
])