GUAC-1285: Add configure test for jpeg_mem_dest().

This commit is contained in:
Michael Jumper 2015-08-07 16:36:36 +00:00
parent 0d1396c815
commit 09de5d162f

View File

@ -110,6 +110,13 @@ AC_CHECK_DECL([cairo_format_stride_for_width],
[Whether cairo_format_stride_for_width() is defined])],,
[#include <cairo/cairo.h>])
AC_CHECK_DECL([jpeg_mem_dest],
[AC_DEFINE([HAVE_JPEG_MEM_DEST],,
[Whether jpeg_mem_dest() is defined])],,
[#include <stddef.h>
#include <stdio.h>
#include <jpeglib.h>])
# Typedefs
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T