Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
c3908365
Commit
c3908365
authored
Apr 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Batch writing to vlc-config.in
parent
e4a0fb28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
m4/vlc.m4
m4/vlc.m4
+12
-11
No files found.
m4/vlc.m4
View file @
c3908365
...
@@ -106,33 +106,34 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
...
@@ -106,33 +106,34 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
dnl Switch/case loop
dnl Switch/case loop
for x in `echo ${am_all_modules}`
for x in `echo ${am_all_modules}`
do [
do [
echo " ${x})"
>> vlc-config.in
echo " ${x})"
if test "`eval echo @'$'CPPFLAGS_${x}@`" != "@@"; then
if test "`eval echo @'$'CPPFLAGS_${x}@`" != "@@"; then
echo " cppflags=\"\${cppflags} `eval echo '$'CPPFLAGS_${x}`\""
>> vlc-config.in
echo " cppflags=\"\${cppflags} `eval echo '$'CPPFLAGS_${x}`\""
fi
fi
if test "`eval echo @'$'CFLAGS_${x}@`" != "@@"; then
if test "`eval echo @'$'CFLAGS_${x}@`" != "@@"; then
echo " cflags=\"\${cflags} `eval echo '$'CFLAGS_${x}`\""
>> vlc-config.in
echo " cflags=\"\${cflags} `eval echo '$'CFLAGS_${x}`\""
fi
fi
if test "`eval echo @'$'CXXFLAGS_${x}@`" != "@@"; then
if test "`eval echo @'$'CXXFLAGS_${x}@`" != "@@"; then
echo " cxxflags=\"\${cxxflags} `eval echo '$'CXXFLAGS_${x}`\""
>> vlc-config.in
echo " cxxflags=\"\${cxxflags} `eval echo '$'CXXFLAGS_${x}`\""
if test "${x}" != "plugin" -a "${x}" != "builtin"; then
if test "${x}" != "plugin" -a "${x}" != "builtin"; then
echo " linkage=\"c++\""
>> vlc-config.in
echo " linkage=\"c++\""
fi
fi
fi
fi
if test "`eval echo @'$'OBJCFLAGS_${x}@`" != "@@"; then
if test "`eval echo @'$'OBJCFLAGS_${x}@`" != "@@"; then
echo " objcflags=\"\${objcflags} `eval echo '$'OBJCFLAGS_${x}`\""
>> vlc-config.in
echo " objcflags=\"\${objcflags} `eval echo '$'OBJCFLAGS_${x}`\""
if test "${x}" != "plugin" -a "${x}" != "builtin"; then
if test "${x}" != "plugin" -a "${x}" != "builtin"; then
echo " if test \"\${linkage}\" = \"c\"; then linkage=\"objc\"; fi"
>> vlc-config.in
echo " if test \"\${linkage}\" = \"c\"; then linkage=\"objc\"; fi"
fi
fi
fi
fi
if test "`eval echo @'$'LDFLAGS_${x}@`" != "@@"; then
if test "`eval echo @'$'LDFLAGS_${x}@`" != "@@"; then
echo " ldflags=\"\${ldflags} `eval echo '$'LDFLAGS_${x}`\""
>> vlc-config.in
echo " ldflags=\"\${ldflags} `eval echo '$'LDFLAGS_${x}`\""
fi
fi
if test "`eval echo @'$'LIBS_${x}@`" != "@@"; then
if test "`eval echo @'$'LIBS_${x}@`" != "@@"; then
echo " libs=\"\${libs} `eval echo '$'LIBS_${x}`\""
>> vlc-config.in
echo " libs=\"\${libs} `eval echo '$'LIBS_${x}`\""
fi
fi
echo " ;;" >> vlc-config.in
echo " ;;"
] done
] done >> vlc-config.in
dnl '/#@1@#/,/#@2@#/{/#@.@#/d;p}' won't work on OS X
dnl '/#@1@#/,/#@2@#/{/#@.@#/d;p}' won't work on OS X
sed -ne '/#@1@#/,/#@2@#/p' < "${srcdir}/vlc-config.in.in" \
sed -ne '/#@1@#/,/#@2@#/p' < "${srcdir}/vlc-config.in.in" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment