evas: make less noise when configuring
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 9 Feb 2011 17:53:00 +0000 (17:53 +0000)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 9 Feb 2011 17:53:00 +0000 (17:53 +0000)
Remove the following warning during bootstrap:

configure.ac:790: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

Reference:
http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html

SVN revision: 56861

legacy/evas/m4/evas_check_loader.m4

index 83b15b8..00a9618 100644 (file)
@@ -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 <stdio.h>
                           #include <jpeglib.h>
                           #include <setjmp.h>
@@ -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"])
       ],