summaryrefslogtreecommitdiff
path: root/m4/evas_check_loader.m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-18 13:48:14 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-18 13:48:14 +0000
commitdb38bdd6de782b880ab03c1c4217823d30d5eae0 (patch)
tree1df90ff44139e1f1528f8d9af4ad8dc48cfddec1 /m4/evas_check_loader.m4
parentac4df627f71e4dfc331ef48027fc48b52227a6f1 (diff)
cosmetic: simplify and colorize features.
EFL_ADD_FEATURE(PKG, NAME, [VALUE]) will do an amazing work to produce colored output in a standard way. if value == yes, it's green and shows "+name" if value == no, it's red and shows "-name" else it shows cyan and shows "name=value" if not provided, will use ${have_name:-${want_name}} SVN revision: 82976
Diffstat (limited to '')
-rw-r--r--m4/evas_check_loader.m418
1 files changed, 7 insertions, 11 deletions
diff --git a/m4/evas_check_loader.m4 b/m4/evas_check_loader.m4
index 54d0eac281..31d64e9695 100644
--- a/m4/evas_check_loader.m4
+++ b/m4/evas_check_loader.m4
@@ -422,13 +422,10 @@ AS_IF([test "x${have_dep}" = "xyes"], [$3], [$4])
422]) 422])
423 423
424dnl use: EVAS_CHECK_IMAGE_LOADER(loader, want_loader, macro) 424dnl use: EVAS_CHECK_IMAGE_LOADER(loader, want_loader, macro)
425
426
427AC_DEFUN([EVAS_CHECK_IMAGE_LOADER], 425AC_DEFUN([EVAS_CHECK_IMAGE_LOADER],
428[ 426[dnl
429 427m4_pushdef([UP], m4_toupper([$1]))dnl
430m4_pushdef([UP], m4_toupper([$1])) 428m4_pushdef([DOWN], m4_tolower([$1]))dnl
431m4_pushdef([DOWN], m4_tolower([$1]))
432 429
433want_loader="$2" 430want_loader="$2"
434want_static_loader="no" 431want_static_loader="no"
@@ -469,9 +466,8 @@ if test "x${want_static_loader}" = "xyes" ; then
469 have_static_module="yes" 466 have_static_module="yes"
470fi 467fi
471 468
472AM_CONDITIONAL(EVAS_STATIC_BUILD_[]UP, [test "x${want_static_loader}" = "xyes"]) 469EFL_ADD_FEATURE([EVAS_LOADER], DOWN, [${have_evas_image_loader_]DOWN[}])dnl
473 470AM_CONDITIONAL(EVAS_STATIC_BUILD_[]UP, [test "x${want_static_loader}" = "xyes"])dnl
474m4_popdef([UP]) 471m4_popdef([UP])dnl
475m4_popdef([DOWN]) 472m4_popdef([DOWN])dnl
476
477]) 473])