Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
7c9e7480
Commit
7c9e7480
authored
Sep 08, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.ac allow building with mingw32
parent
22d69a7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
configure.ac
configure.ac
+12
-1
No files found.
configure.ac
View file @
7c9e7480
...
@@ -23,13 +23,23 @@ CFLAGS_save="${CFLAGS}"
...
@@ -23,13 +23,23 @@ CFLAGS_save="${CFLAGS}"
dnl add features to CFLAGS
dnl add features to CFLAGS
CFLAGS_dist="-Wall -Werror --std=gnu99 -D_GNU_SOURCE"
CFLAGS_dist="-Wall -Werror --std=gnu99 -D_GNU_SOURCE"
CFLAGS_dist="${CFLAGS_dist} -Wpointer-arith -Wcast-align -W
cast-qual -W
strict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
CFLAGS_dist="${CFLAGS_dist} -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
dnl check the operating system
dnl check the operating system
case "${target_os}" in
case "${target_os}" in
darwin*)
darwin*)
SYS=darwin
CFLAGS_dist="${CFLAGS_dist} -no-cpp-precomp"
CFLAGS_dist="${CFLAGS_dist} -no-cpp-precomp"
;;
;;
*mingw32*)
SYS=mingw32
CFLAGS_dist="${CFLAGS_dist} -Wno-cast-qual"
AC_DEFINE([WIN32],[1],["Define to 1 if building for windows with mingw32"])
;;
*)
SYS=linux
CFLAGS_dist="${CFLAGS_dist} -Wcast-qual"
;;
esac
esac
dnl --enable-debug
dnl --enable-debug
...
@@ -120,4 +130,5 @@ libdvbpsi version : ${VERSION}
...
@@ -120,4 +130,5 @@ libdvbpsi version : ${VERSION}
debug : ${debug}
debug : ${debug}
release : ${release}
release : ${release}
compile flags : ${CFLAGS}
compile flags : ${CFLAGS}
build for : ${SYS}
"
"
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