Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4f04994e
Commit
4f04994e
authored
Apr 08, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Only allow includes and defines in pkg-config flags.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=50811
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f126809e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
21 deletions
+3
-21
configure
configure
+1
-10
configure.ac
configure.ac
+1
-10
makedep.c
tools/makedep.c
+1
-1
No files found.
configure
View file @
4f04994e
...
...
@@ -14620,16 +14620,7 @@ $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstream
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs:
$GSTREAMER_LIBS
"
>
&5
ac_save_CPPFLAGS
=
$CPPFLAGS
CPPFLAGS
=
"
$CPPFLAGS
$GSTREAMER_CFLAGS
"
ac_gst_incl
=
""
for
i
in
$GSTREAMER_CFLAGS
do
case
"
$i
"
in
-I
*
)
ac_gst_incl
=
"
$ac_gst_incl
$i
"
;;
esac
done
GSTREAMER_CFLAGS
=
$ac_gst_incl
CPPFLAGS
=
"
$ac_save_CPPFLAGS
$GSTREAMER_CFLAGS
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"gst/gst.h"
"ac_cv_header_gst_gst_h"
"
$ac_includes_default
"
ac_fn_c_check_header_mongrel
"
$LINENO
"
"gst/gst.h"
"ac_cv_header_gst_gst_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_gst_gst_h
"
=
xyes
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether gint64 defined by gst/gst.h is indeed 64-bit"
>
&5
$as_echo_n
"checking whether gint64 defined by gst/gst.h is indeed 64-bit... "
>
&6
;
}
...
...
configure.ac
View file @
4f04994e
...
...
@@ -1608,16 +1608,7 @@ dnl **** Check for gstreamer ****
if test "x$with_gstreamer" != "xno"
then
WINE_PACKAGE_FLAGS(GSTREAMER,[gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0],,,,
[ac_gst_incl=""
for i in $GSTREAMER_CFLAGS
do
case "$i" in
-I*) ac_gst_incl="$ac_gst_incl $i";;
esac
done
GSTREAMER_CFLAGS=$ac_gst_incl
CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
AC_CHECK_HEADER([gst/gst.h],
[AC_CHECK_HEADER([gst/gst.h],
[AC_MSG_CHECKING([whether gint64 defined by gst/gst.h is indeed 64-bit])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gst/gst.h>]],
[[static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;]])],
...
...
tools/makedep.c
View file @
4f04994e
...
...
@@ -4263,7 +4263,7 @@ static void load_sources( struct makefile *make )
for
(
i
=
0
;
i
<
value
.
count
;
i
++
)
if
(
!
strncmp
(
value
.
str
[
i
],
"-I"
,
2
))
strarray_add_uniq
(
&
make
->
include_paths
,
value
.
str
[
i
]
+
2
);
else
else
if
(
!
strncmp
(
value
.
str
[
i
],
"-D"
,
2
)
||
!
strncmp
(
value
.
str
[
i
],
"-U"
,
2
))
strarray_add_uniq
(
&
make
->
define_args
,
value
.
str
[
i
]
);
strarray_addall
(
&
make
->
define_args
,
get_expanded_make_var_array
(
make
,
"EXTRADEFS"
));
...
...
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