Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9e00d135
Commit
9e00d135
authored
May 03, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./configure.in: we check support for variadic macros (screw Borland!).
parent
5e5229b6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
208 additions
and
149 deletions
+208
-149
configure
configure
+190
-148
configure.in
configure.in
+15
-1
include/defs.h.in
include/defs.h.in
+3
-0
No files found.
configure
View file @
9e00d135
This diff is collapsed.
Click to expand it.
configure.in
View file @
9e00d135
...
@@ -331,6 +331,20 @@ if test x"$ac_cv_ld_plugins" != x"no"; then
...
@@ -331,6 +331,20 @@ if test x"$ac_cv_ld_plugins" != x"no"; then
plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
plugins_LDFLAGS="${plugins_LDFLAGS} -shared"
fi
fi
dnl Check for variadic macros
AC_CACHE_CHECK([for variadic cpp macros],
[ac_cv_cpp_variadic_macros],
[CFLAGS="${save_CFLAGS}"
AC_TRY_COMPILE(
[#include <stdio.h>
#define a(b,c...) printf(b,##c)],
[a("foo");a("%s","bar");a("%s%s","baz","quux");],
ac_cv_cpp_variadic_macros=yes,
ac_cv_cpp_variadic_macros=no)])
if test x"$ac_cv_cpp_variadic_macros" != x"no"; then
AC_DEFINE(HAVE_VARIADIC_MACROS, 1, Support for variadic macros)
fi
dnl Checks for __attribute__(aligned()) directive
dnl Checks for __attribute__(aligned()) directive
AC_CACHE_CHECK([__attribute__ ((aligned ())) support],
AC_CACHE_CHECK([__attribute__ ((aligned ())) support],
[ac_cv_c_attribute_aligned],
[ac_cv_c_attribute_aligned],
...
@@ -891,7 +905,7 @@ then
...
@@ -891,7 +905,7 @@ then
AC_MSG_ERROR([the specified tree doesn't have a52.h])
AC_MSG_ERROR([the specified tree doesn't have a52.h])
fi
fi
else dnl no with args
else dnl no with args
AC_CHECK_HEADER(a52dec/a52.h, [
AC_CHECK_HEADER
S
(a52dec/a52.h, [
AC_CHECK_LIB(a52, a52_free, [
AC_CHECK_LIB(a52, a52_free, [
BUILTINS="${BUILTINS} a52"
BUILTINS="${BUILTINS} a52"
a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
a52_LDFLAGS="${a52_LDFLAGS} -la52 -lm"
...
...
include/defs.h.in
View file @
9e00d135
...
@@ -356,6 +356,9 @@
...
@@ -356,6 +356,9 @@
/* Define if <sys/param.h> defines ntohl. */
/* Define if <sys/param.h> defines ntohl. */
#undef NTOHL_IN_SYS_PARAM_H
#undef NTOHL_IN_SYS_PARAM_H
/* Support for variadic macros */
#undef HAVE_VARIADIC_MACROS
/* Maximum supported data alignment */
/* Maximum supported data alignment */
#undef ATTRIBUTE_ALIGNED_MAX
#undef ATTRIBUTE_ALIGNED_MAX
...
...
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