diff --git a/legacy/evas/m4/evas_check_loader.m4 b/legacy/evas/m4/evas_check_loader.m4 index 6bcf1da0e4..d03ce091f0 100644 --- a/legacy/evas/m4/evas_check_loader.m4 +++ b/legacy/evas/m4/evas_check_loader.m4 @@ -113,20 +113,20 @@ if test "x${have_dep}" = "xyes" ; then AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], [ - evas_image_loader_[]$1[]_libs="-ljpeg" - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ + evas_image_loader_[]$1[]_libs="-ljpeg" + AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[ #include #include #include - ]], - [[ + ]], + [[ struct jpeg_decompress_struct decomp; decomp.region_x = 0; - ]])], - [have_jpeg_region="yes"], - [have_jpeg_region="no"]) + ]])], + [have_jpeg_region="yes"], + [have_jpeg_region="no"]) ], [have_dep="no"] )