summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-03 10:09:31 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-03 10:09:31 +0900
commit344eae9cbd4c6aea640b40e078a3e9a03ecfb298 (patch)
tree889a342e7f5b7f526b881108a014bcc17a82b7ec /m4
parentbe34ef9eb266d4edc218c45ed8712f114cd90eef (diff)
evas: fix build when png12 is not around.
Diffstat (limited to 'm4')
-rw-r--r--m4/evas_check_loader.m414
1 files changed, 6 insertions, 8 deletions
diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4
index 4dab107..e10e330 100644
--- a/m4/evas_check_loader.m4
+++ b/m4/evas_check_loader.m4
@@ -250,11 +250,10 @@ if test "x${have_dep}" = "xyes" ; then
250 if test "x$2" = "xstatic" ; then 250 if test "x$2" = "xstatic" ; then
251 requirements_pc_evas="${requirement} ${requirements_pc_evas}" 251 requirements_pc_evas="${requirement} ${requirements_pc_evas}"
252 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}" 252 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
253 else
254 PKG_CHECK_MODULES([PNG], [${requirement}])
255 evas_image_loader_[]$1[]_cflags="${PNG_CFLAGS}"
256 evas_image_loader_[]$1[]_libs="${PNG_LIBS}"
257 fi 253 fi
254 PKG_CHECK_MODULES([PNG], [${requirement}])
255 evas_image_loader_[]$1[]_cflags="${PNG_CFLAGS}"
256 evas_image_loader_[]$1[]_libs="${PNG_LIBS}"
258fi 257fi
259 258
260AC_SUBST([evas_image_loader_$1_cflags]) 259AC_SUBST([evas_image_loader_$1_cflags])
@@ -302,11 +301,10 @@ if test "x${have_dep}" = "xyes" ; then
302 if test "x$2" = "xstatic" ; then 301 if test "x$2" = "xstatic" ; then
303 requirements_pc_evas="${requirement} ${requirements_pc_evas}" 302 requirements_pc_evas="${requirement} ${requirements_pc_evas}"
304 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}" 303 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
305 else
306 PKG_CHECK_MODULES([SVG], [${requirement}])
307 evas_image_loader_[]$1[]_cflags="${SVG_CFLAGS}"
308 evas_image_loader_[]$1[]_libs="${SVG_LIBS}"
309 fi 304 fi
305 PKG_CHECK_MODULES([SVG], [${requirement}])
306 evas_image_loader_[]$1[]_cflags="${SVG_CFLAGS}"
307 evas_image_loader_[]$1[]_libs="${SVG_LIBS}"
310fi 308fi
311 309
312AC_SUBST([evas_image_loader_$1_cflags]) 310AC_SUBST([evas_image_loader_$1_cflags])