As with all the other dlopen()'d libraries, if we're going to use them,
we should link them properly so dpkg-shlibdeps can pick up the
right versioned dependencies. Xonotic 0.7.0 doesn't seem to ship
this one so we can probably just omit it.
Origin: vendor, Debian
Forwarded: no
// LordHavoc: for some reason this is being #include'd rather than treated as its own file...
// LordHavoc: adapted to not require stdint.h as this is not available on MSVC++, using unsigned char instead of uint8_t and fs_offset_t instead of int64_t.
+#ifdef DISABLE_AVW
+
+static qboolean LibAvW_OpenLibrary(void)
+{
+ return false;
+}
+
+static void *LibAvW_OpenVideo(clvideo_t *video, char *filename, const char **errorstring)
+{
+ return NULL;
+}
+
+
+static void LibAvW_CloseLibrary(void)
+{
+}
+
+#else /* !DISABLE_AVW */
+
// scaler type
#define LIBAVW_SCALER_BILINEAR 0
#define LIBAVW_SCALER_BICUBIC 1
Sys_UnloadLibrary(&libavw_dll);
}
+#endif /* !DISABLE_AVW */
CFLAGS_FS=
endif
+ifdef DISABLE_AVW
+CFLAGS_AVW=-DDISABLE_AVW
+endif
+
ifdef LINK_TO_CURL
CFLAGS_CURL=-DLINK_TO_CURL `pkg-config --cflags libcurl`
LIB_CURL=`pkg-config --libs libcurl`
$(CFLAGS_PRELOAD) \
$(CFLAGS_FS) \
$(CFLAGS_WARNINGS) \
+ $(CFLAGS_AVW) \
$(CFLAGS_CURL) \
$(CFLAGS_FREETYPE2) \
$(CFLAGS_LIBJPEG) \