Changeset e397e422bbc537435688441c173d550e251bf3a3
- Timestamp:
- 07/17/03 17:49:37
(5 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 1058456977 +0000
- git-parent:
[0001dd31afce7dea20762c2e3a683ee05e936c16]
- git-author:
- Sam Hocevar <sam@videolan.org> 1058456977 +0000
- Message:
- m4/vlc.m4: Looks like POSIX shell reduces "eval echo '$'FOO" to "" even
if $FOO contains spaces. Worked around the problem.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd93b2c5 |
re397e42 |
|
| 1 | 1 | dnl Macros needed for VLC |
|---|
| 2 | | dnl $Id: vlc.m4,v 1.5 2003/07/01 14:25:47 sam Exp $ |
|---|
| | 2 | dnl $Id: vlc.m4,v 1.6 2003/07/17 15:49:37 sam Exp $ |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | dnl Add plugins or builtins |
|---|
| … | … | |
| 89 | 89 | do [ |
|---|
| 90 | 90 | echo " ${x})" >> vlc-config.in |
|---|
| 91 | | if test -n "`eval echo '$'CPPFLAGS_${x}`"; then |
|---|
| | 91 | if test "`eval echo @'$'CPPFLAGS_${x}@`" != "@@"; then |
|---|
| 92 | 92 | echo " cppflags=\"\${cppflags} `eval echo '$'CPPFLAGS_${x}`\"" >> vlc-config.in |
|---|
| 93 | 93 | fi |
|---|
| 94 | | if test -n "`eval echo '$'CFLAGS_${x}`"; then |
|---|
| | 94 | if test "`eval echo @'$'CFLAGS_${x}@`" != "@@"; then |
|---|
| 95 | 95 | echo " cflags=\"\${cflags} `eval echo '$'CFLAGS_${x}`\"" >> vlc-config.in |
|---|
| 96 | 96 | fi |
|---|
| 97 | | if test -n "`eval echo '$'CXXFLAGS_${x}`"; then |
|---|
| | 97 | if test "`eval echo @'$'CXXFLAGS_${x}@`" != "@@"; then |
|---|
| 98 | 98 | echo " cxxflags=\"\${cxxflags} `eval echo '$'CXXFLAGS_${x}`\"" >> vlc-config.in |
|---|
| 99 | | if test "${x}" != "plugins" -a "${x}" != "builtins"; then |
|---|
| | 99 | if test "${x}" != "plugin" -a "${x}" != "builtin"; then |
|---|
| 100 | 100 | echo " linkage=\"c++\"" >> vlc-config.in |
|---|
| 101 | 101 | fi |
|---|
| 102 | 102 | fi |
|---|
| 103 | | if test -n "`eval echo '$'OBJCFLAGS_${x}`"; then |
|---|
| | 103 | if test "`eval echo @'$'OBJCFLAGS_${x}@`" != "@@"; then |
|---|
| 104 | 104 | echo " objcflags=\"\${objcflags} `eval echo '$'OBJCFLAGS_${x}`\"" >> vlc-config.in |
|---|
| 105 | | if test "${x}" != "plugins" -a "${x}" != "builtins"; then |
|---|
| | 105 | if test "${x}" != "plugin" -a "${x}" != "builtin"; then |
|---|
| 106 | 106 | echo " if test \"\${linkage}\" = \"c\"; then linkage=\"objc\"; fi" >> vlc-config.in |
|---|
| 107 | 107 | fi |
|---|
| 108 | 108 | fi |
|---|
| 109 | | if test -n "`eval echo '$'LDFLAGS_${x}`"; then |
|---|
| | 109 | if test "`eval echo @'$'LDFLAGS_${x}@`" != "@@"; then |
|---|
| 110 | 110 | echo " ldflags=\"\${ldflags} `eval echo '$'LDFLAGS_${x}`\"" >> vlc-config.in |
|---|
| 111 | 111 | fi |
|---|