mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
configure: Always disable winegstreamer if gst/gst.h is broken.
This commit is contained in:
parent
2436da5cef
commit
96edde17d0
1
configure
vendored
1
configure
vendored
|
@ -17175,6 +17175,7 @@ else $as_nop
|
|||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
printf "%s\n" "no" >&6; }
|
||||
ac_glib2_broken=yes
|
||||
enable_winegstreamer=${enable_winegstreamer:-no}
|
||||
as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
|
||||
|
|
|
@ -1595,6 +1595,7 @@ then
|
|||
AC_CHECK_LIB(gstreamer-1.0,gst_pad_new,[:],,[$GSTREAMER_LIBS])],
|
||||
[AC_MSG_RESULT([no])
|
||||
ac_glib2_broken=yes
|
||||
enable_winegstreamer=${enable_winegstreamer:-no}
|
||||
WINE_NOTICE([glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built.])])])])
|
||||
fi
|
||||
WINE_NOTICE_WITH(gstreamer,[test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes],
|
||||
|
|
Loading…
Reference in a new issue