fi
-if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno
+if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
then
echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
echo "as built-in"
fi])
dnl Automagically disable plug-ins if there is no system support for .so files
-if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno
+dnl don't forget vlc-win32 still can load .so as plugins
+if test x$ac_cv_header_dlfcn_h = xno -a x$ac_cv_header_image_h = xno -a x$SYS != xmingw32
then
echo "*** Your system doesn't have plug-in support. All plug-ins will be compiled"
echo "as built-in"