diff options
author | Cedric Bail <cedric.bail@free.fr> | 2013-12-01 23:35:43 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@free.fr> | 2013-12-01 23:35:43 +0900 |
commit | cf7b9d07e0a8cd0c0dcaac0910c01214ae050a43 (patch) | |
tree | 874618e0b347ce9e57c51691737aeded5688ab5c /m4 | |
parent | 005c4b09f2221366df4110e6b99f5dc7f6fd90c7 (diff) | |
download | elementary-cf7b9d07e0a8cd0c0dcaac0910c01214ae050a43.tar.gz |
autotools: improve build system to be able to correctly pick outside and inside tools.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/efl_binary.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4 index c77468817..f6262dc73 100644 --- a/m4/efl_binary.m4 +++ b/m4/efl_binary.m4 @@ -53,6 +53,7 @@ AC_DEFUN([EFL_WITH_BIN], [ m4_pushdef([DOWN], m4_translit([[$2]], [-A-Z], [_a-z]))dnl +m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z]))dnl dnl configure option @@ -66,6 +67,7 @@ AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}]) with_binary_[]m4_defn([DOWN])=${_efl_with_binary} +AM_CONDITIONAL(HAVE_[]UP, [test "x${_efl_binary_define}" = "xyes"]) AC_SUBST(DOWN) ]) |