diff options
author | David Walter Seikel | 2012-04-22 09:19:23 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-04-22 09:19:23 +1000 |
commit | c963d75dfdeec11f82e79e727062fbf89afa2c04 (patch) | |
tree | 895633dbf641110be46f117c29890c49b3ffc0bd /libraries/edje/m4 | |
parent | Adding the new extantz viewer and grid manager. (diff) | |
download | SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2 SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz |
Update EFL to latest beta.
Diffstat (limited to 'libraries/edje/m4')
-rw-r--r-- | libraries/edje/m4/efl_binary.m4 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/edje/m4/efl_binary.m4 b/libraries/edje/m4/efl_binary.m4 index 93d6934..c774688 100644 --- a/libraries/edje/m4/efl_binary.m4 +++ b/libraries/edje/m4/efl_binary.m4 | |||
@@ -42,3 +42,30 @@ AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes") | |||
42 | AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) | 42 | AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) |
43 | 43 | ||
44 | ]) | 44 | ]) |
45 | |||
46 | |||
47 | dnl Macro that check if a binary is built or not | ||
48 | |||
49 | dnl Usage: EFL_WITH_BIN(package, binary, default_value) | ||
50 | dnl Call AC_SUBST(_binary) (_binary is the lowercase of binary, - being transformed into _ by default, or the value set by the user) | ||
51 | |||
52 | AC_DEFUN([EFL_WITH_BIN], | ||
53 | [ | ||
54 | |||
55 | m4_pushdef([DOWN], m4_translit([[$2]], [-A-Z], [_a-z]))dnl | ||
56 | |||
57 | dnl configure option | ||
58 | |||
59 | AC_ARG_WITH([$2], | ||
60 | [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])], | ||
61 | [_efl_with_binary=${withval}], | ||
62 | [_efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3]) | ||
63 | |||
64 | DOWN=${_efl_with_binary} | ||
65 | AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}]) | ||
66 | |||
67 | with_binary_[]m4_defn([DOWN])=${_efl_with_binary} | ||
68 | |||
69 | AC_SUBST(DOWN) | ||
70 | |||
71 | ]) | ||