configure: Always disable winegstreamer if gst/gst.h is broken.

This commit is contained in:
Alexandre Julliard 2023-07-13 21:23:23 +02:00
parent 2436da5cef
commit 96edde17d0
2 changed files with 2 additions and 0 deletions

1
configure vendored
View file

@ -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

View file

@ -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],