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
1dfa47c0
Commit
1dfa47c0
authored
Oct 21, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes
parent
4119f97f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
m4/flags.m4
m4/flags.m4
+25
-3
No files found.
m4/flags.m4
View file @
1dfa47c0
...
@@ -23,9 +23,8 @@ AC_DEFUN([RDC_PROG_CC_FLAGS_IFELSE],
...
@@ -23,9 +23,8 @@ AC_DEFUN([RDC_PROG_CC_FLAGS_IFELSE],
ac_res=`eval echo '${'$as_ac_var'}'`
ac_res=`eval echo '${'$as_ac_var'}'`
AS_IF([test "${ac_res}" != "no"], [
AS_IF([test "${ac_res}" != "no"], [
CFLAGS="${CFLAGS_save} $1"
CXXFLAGS="${CXXFLAGS} $1"
CXXFLAGS="${CFLAGS_save} $1"
OBJCFLAGS="${OBJCFLAGS} $1"
OBJCFLAGS="${OBJCFLAGS_save} $1"
$2
$2
], [
], [
CFLAGS="${CFLAGS_save}"
CFLAGS="${CFLAGS_save}"
...
@@ -38,3 +37,26 @@ AC_DEFUN([RDC_PROG_CC_WFLAGS],
...
@@ -38,3 +37,26 @@ AC_DEFUN([RDC_PROG_CC_WFLAGS],
RDC_PROG_CC_FLAGS_IFELSE([-W$a])
RDC_PROG_CC_FLAGS_IFELSE([-W$a])
done
done
])
])
AC_DEFUN([RDC_PROG_LINK_FLAGS_IFELSE],
[AC_LANG_ASSERT(C)
CFLAGS_save="${CFLAGS}"
as_ac_var=`echo "ac_cv_prog_cc_flags_$1" | $as_tr_sh`
AC_CACHE_CHECK([if $CC accepts $1], [$as_ac_var], [
CFLAGS="${CFLAGS_save} $1"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
eval "$as_ac_var=yes"
],[
eval "$as_ac_var=no"
])
])
ac_res=`eval echo '${'$as_ac_var'}'`
AS_IF([test "${ac_res}" != "no"], [
true
$2
], [
LDFLAGS="${CFLAGS_save}"
$3
])
])
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