esac
AC_SUBST(audio_LIBS)
+
+dnl ENABLE_AUDIO_SUPPORT could be depricated at any time in favor of
+dnl just assuming we have audio support on all platform. We can
+dnl depend on plib to hide the details.
AC_DEFINE([ENABLE_AUDIO_SUPPORT], 1, [Define for audio support])
dnl X11 might be installed on Mac OS X or cygwin/mingwin, we don't want
AC_CHECK_LIB(m, cos)
-dnl MINGW requires libwsock32
-if test "x$is_mingw" = "xyes" ; then
- LIBS="$LIBS -lws2_32"
-fi
-
base_LIBS="$LIBS"
dnl Thread related checks
dnl add -lwsock32 for mingwin
case "${host}" in
*-*-mingw32*)
- LIBS="$LIBS -lws2_32"
+ echo "********** BUILDING FOR MINGW32 *************"
+ base_LIBS="$base_LIBS -lws2_32"
;;
esac