evas: make less noise when configuring
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Feb 2011 17:53:00 +0000 (17:53 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
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

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@56861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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"])
       ],