Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7f3af96e
Commit
7f3af96e
authored
Oct 14, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add partial infrastructure for libs/ldflags segregation
parent
58cd832e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
m4/vlc.m4
m4/vlc.m4
+13
-1
No files found.
m4/vlc.m4
View file @
7f3af96e
...
@@ -50,6 +50,13 @@ AC_DEFUN([VLC_ADD_LDFLAGS], [
...
@@ -50,6 +50,13 @@ AC_DEFUN([VLC_ADD_LDFLAGS], [
done
done
])
])
AC_DEFUN([VLC_ADD_LIBS], [
for element in [$1]; do
eval "LIBS_${element}="'"'"$2 "'$'"{LIBS_${element}} "'"'
am_modules_with_libs="${am_modules_with_libs} ${element}"
done
])
dnl ===========================================================================
dnl ===========================================================================
dnl Macros to save and restore default flags
dnl Macros to save and restore default flags
...
@@ -59,6 +66,7 @@ AC_DEFUN([VLC_SAVE_FLAGS], [
...
@@ -59,6 +66,7 @@ AC_DEFUN([VLC_SAVE_FLAGS], [
CXXFLAGS_save="${CXXFLAGS}"
CXXFLAGS_save="${CXXFLAGS}"
OBJCFLAGS_save="${OBJCFLAGS}"
OBJCFLAGS_save="${OBJCFLAGS}"
LDFLAGS_save="${LDFLAGS}"
LDFLAGS_save="${LDFLAGS}"
LIBS_save="${LIBS}"
])
])
AC_DEFUN([VLC_RESTORE_FLAGS], [
AC_DEFUN([VLC_RESTORE_FLAGS], [
...
@@ -67,6 +75,7 @@ AC_DEFUN([VLC_RESTORE_FLAGS], [
...
@@ -67,6 +75,7 @@ AC_DEFUN([VLC_RESTORE_FLAGS], [
CXXFLAGS="${CXXFLAGS_save}"
CXXFLAGS="${CXXFLAGS_save}"
OBJCFLAGS="${OBJCFLAGS_save}"
OBJCFLAGS="${OBJCFLAGS_save}"
LDFLAGS="${LDFLAGS_save}"
LDFLAGS="${LDFLAGS_save}"
LIBS="${LIBS_save}"
])
])
dnl ===========================================================================
dnl ===========================================================================
...
@@ -76,7 +85,7 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
...
@@ -76,7 +85,7 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
AC_MSG_RESULT(configure: creating ./vlc-config.in)
AC_MSG_RESULT(configure: creating ./vlc-config.in)
am_all_modules="`for x in ${am_modules_with_cppflags} ${am_modules_with_cflags} ${am_modules_with_cxxflags} ${am_modules_with_objcflags} ${am_modules_with_ldflags}; do echo $x; done | sort | uniq`"
am_all_modules="`for x in ${am_modules_with_cppflags} ${am_modules_with_cflags} ${am_modules_with_cxxflags} ${am_modules_with_objcflags} ${am_modules_with_ldflags}
${am_modules_with_libs}
; do echo $x; done | sort | uniq`"
rm -f vlc-config.in
rm -f vlc-config.in
sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
...
@@ -119,6 +128,9 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
...
@@ -119,6 +128,9 @@ AC_DEFUN([VLC_OUTPUT_VLC_CONFIG_IN], [
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}`\"" >> vlc-config.in
fi
fi
if test "`eval echo @'$'LIBS_${x}@`" != "@@"; then
echo " libs=\"\${libs} `eval echo '$'LIBS_${x}`\"" >> vlc-config.in
fi
echo " ;;" >> vlc-config.in
echo " ;;" >> vlc-config.in
] done
] done
...
...
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