Commit 03008484 authored by Simon Morlat's avatar Simon Morlat

fix compilation with --disable-video

parent fbc20157
......@@ -123,7 +123,7 @@ AC_DEFUN([MS_CHECK_VIDEO],[
enable_sdl_default=false
enable_x11_default=false
OBJCFLAGS="$OBJCFLAGS -framework QTKit"
LIBS="$LIBS -framework QTKit -framework CoreVideo -framework Foundation"
LIBS="$LIBS -framework QTKit -framework CoreVideo "
dnl the following check is necessary but due to automake bug it forces every platform to have an objC compiler !
dnl AC_LANG_PUSH([Objective C])
dnl AC_CHECK_HEADERS([QTKit/QTKit.h],[],[AC_MSG_ERROR([QTKit framework not found, required for video support])])
......
......@@ -175,9 +175,10 @@ dnl ORTP_STATIC to tell ortp not to export its variable with dllexport, as if we
;;
esac
if test "$macosx_found" == "yes" || test "$ios_found" == "yes" ; then
MSPLUGINS_CFLAGS=""
MSPLUGINS_LIBS="-dynamiclib"
if test "$macosx_found" == "yes" ; then
LIBS="$LIBS -framework CoreFoundation -framework AudioToolbox -framework CoreAudio -framework AppKit"
fi
if test "$ios_found" == "yes" ; then
LIBS="$LIBS -framework CoreFoundation -framework AudioToolbox -framework CoreAudio "
fi
dnl localization tools
......
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