Commit 96edde17 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 2436da5c
......@@ -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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment