summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-04-26 01:03:06 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-04-26 01:03:06 +0000
commit0e57095d06ebe4eda4dc2ec0dc5701570ccaea2d (patch)
tree774ba82c24aba8bebecb169734267144703c0c00 /legacy/evas/m4
parenta613126be4f854e9b317d69f5cd7145896392f3d (diff)
add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and evas passes certain input on the cmd-line and your binary produces output on stdout (and also optionally additionally in a shm or tmp file). SVN revision: 58914
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/evas_check_loader.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/legacy/evas/m4/evas_check_loader.m4 b/legacy/evas/m4/evas_check_loader.m4
index 2bff191..52f953f 100644
--- a/legacy/evas/m4/evas_check_loader.m4
+++ b/legacy/evas/m4/evas_check_loader.m4
@@ -410,6 +410,26 @@ fi
410 410
411]) 411])
412 412
413dnl use: EVAS_CHECK_LOADER_DEP_GENERIC(loader, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
414
415AC_DEFUN([EVAS_CHECK_LOADER_DEP_GENERIC],
416[
417
418have_dep="yes"
419evas_image_loader_[]$1[]_cflags=""
420evas_image_loader_[]$1[]_libs=""
421
422AC_SUBST([evas_image_loader_$1_cflags])
423AC_SUBST([evas_image_loader_$1_libs])
424
425if test "x${have_dep}" = "xyes" ; then
426 m4_default([$3], [:])
427else
428 m4_default([$4], [:])
429fi
430
431])
432
413dnl use: EVAS_CHECK_IMAGE_LOADER(loader, want_loader, macro) 433dnl use: EVAS_CHECK_IMAGE_LOADER(loader, want_loader, macro)
414 434
415 435