diff --git a/legacy/evas/m4/evas_check_loader.m4 b/legacy/evas/m4/evas_check_loader.m4 index 83b15b80b4..00a96185dd 100644 --- a/legacy/evas/m4/evas_check_loader.m4 +++ b/legacy/evas/m4/evas_check_loader.m4 @@ -114,7 +114,7 @@ if test "x${have_dep}" = "xyes" ; then [jpeg_CreateDecompress], [ evas_image_loader_[]$1[]_libs="-ljpeg" - AC_COMPILE_IFELSE([[ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #include #include #include @@ -122,7 +122,7 @@ if test "x${have_dep}" = "xyes" ; then struct jpeg_decompress_struct decomp; decomp.region_x = 0; } - ]], + ])], [have_jpeg_region="yes"], [have_jpeg_region="no"]) ],