From 09de5d162f580f61131505c13a94cd6c00da49b2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 7 Aug 2015 16:36:36 +0000 Subject: [PATCH] GUAC-1285: Add configure test for jpeg_mem_dest(). --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 43bb38d4..653495d7 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,13 @@ AC_CHECK_DECL([cairo_format_stride_for_width], [Whether cairo_format_stride_for_width() is defined])],, [#include ]) +AC_CHECK_DECL([jpeg_mem_dest], + [AC_DEFINE([HAVE_JPEG_MEM_DEST],, + [Whether jpeg_mem_dest() is defined])],, + [#include + #include + #include ]) + # Typedefs AC_TYPE_SIZE_T AC_TYPE_SSIZE_T