forked from enlightenment/efl
Evas: improve jpeg m4 macro check
Use AC_LANG_PROGRAM instead of AC_LANG_SOURCE SVN revision: 58097
This commit is contained in:
parent
6894af9d5e
commit
9cc1e2a01d
|
@ -114,15 +114,17 @@ if test "x${have_dep}" = "xyes" ; then
|
|||
[jpeg_CreateDecompress],
|
||||
[
|
||||
evas_image_loader_[]$1[]_libs="-ljpeg"
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM(
|
||||
[[
|
||||
#include <stdio.h>
|
||||
#include <jpeglib.h>
|
||||
#include <setjmp.h>
|
||||
int main(int argc, char **argv) {
|
||||
]],
|
||||
[[
|
||||
struct jpeg_decompress_struct decomp;
|
||||
decomp.region_x = 0;
|
||||
}
|
||||
])],
|
||||
]])],
|
||||
[have_jpeg_region="yes"],
|
||||
[have_jpeg_region="no"])
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue