diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/Makefile.am | 3 | ||||
-rw-r--r-- | server/configure.ac | 2 | ||||
-rw-r--r-- | server/ffmpeg_inc.h.in | 10 |
3 files changed, 13 insertions, 2 deletions
diff --git a/server/Makefile.am b/server/Makefile.am index 335a71a5..5df058cd 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -5,7 +5,6 @@ COMMON_DIR=$(SPICE_COMMON_SRCDIR) INCLUDES = \ -I. \ -I$(COMMON_DIR) \ - -I$(COMMON_DIR)/linux \ $(FFMPEG_CFLAGS) \ $(QCAIRO_CFLAGS) \ $(GL_CFLAGS) \ @@ -81,12 +80,14 @@ libspiceinclude_HEADERS = \ EXTRA_DIST = \ glz_encode_match_tmpl.c \ glz_encode_tmpl.c \ + ffmpeg_inc.h.in \ $(NULL) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = spice.pc DISTCLEANFILES = \ + ffmpeg_inc.h \ spice.pc dist-hook: diff --git a/server/configure.ac b/server/configure.ac index bc31986a..9ca80d51 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -32,7 +32,7 @@ AC_SUBST(SPICE_REQUIRES) AC_SUBST(SPICE_NONPKGCONFIG_CFLAGS) AC_SUBST(SPICE_NONPKGCONFIG_LIBS) -AC_CONFIG_FILES([Makefile spice.pc]) +AC_CONFIG_FILES([Makefile spice.pc ffmpeg_inc.h]) AC_OUTPUT dnl ========================================================================== diff --git a/server/ffmpeg_inc.h.in b/server/ffmpeg_inc.h.in new file mode 100644 index 00000000..02b4e360 --- /dev/null +++ b/server/ffmpeg_inc.h.in @@ -0,0 +1,10 @@ + +#ifdef __GNUG__ +extern "C" { +#endif + +#include "@AVCODEC_PREFIX@avcodec.h" + +#ifdef __GNUG__ +} +#endif |