diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/embryo/m4/efl_binary.m4 | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/embryo/m4/efl_binary.m4')
-rw-r--r-- | libraries/embryo/m4/efl_binary.m4 | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libraries/embryo/m4/efl_binary.m4 b/libraries/embryo/m4/efl_binary.m4 deleted file mode 100644 index 93d6934..0000000 --- a/libraries/embryo/m4/efl_binary.m4 +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr> | ||
2 | dnl That code is public domain and can be freely used or copied. | ||
3 | |||
4 | dnl Macro that check if a binary is built or not | ||
5 | |||
6 | dnl Usage: EFL_ENABLE_BIN(binary) | ||
7 | dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _) | ||
8 | dnl Define have_binary (- is transformed into _) | ||
9 | dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _) | ||
10 | |||
11 | AC_DEFUN([EFL_ENABLE_BIN], | ||
12 | [ | ||
13 | |||
14 | m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl | ||
15 | m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl | ||
16 | |||
17 | have_[]m4_defn([DOWN])="yes" | ||
18 | |||
19 | dnl configure option | ||
20 | |||
21 | AC_ARG_ENABLE([$1], | ||
22 | [AC_HELP_STRING([--disable-$1], [disable building of ]DOWN)], | ||
23 | [ | ||
24 | if test "x${enableval}" = "xyes" ; then | ||
25 | have_[]m4_defn([DOWN])="yes" | ||
26 | else | ||
27 | have_[]m4_defn([DOWN])="no" | ||
28 | fi | ||
29 | ]) | ||
30 | |||
31 | AC_MSG_CHECKING([whether to build ]DOWN[ binary]) | ||
32 | AC_MSG_RESULT([$have_[]m4_defn([DOWN])]) | ||
33 | |||
34 | if test "x$have_[]m4_defn([DOWN])" = "xyes"; then | ||
35 | UP[]_PRG=DOWN[${EXEEXT}] | ||
36 | fi | ||
37 | |||
38 | AC_SUBST(UP[]_PRG) | ||
39 | |||
40 | AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes") | ||
41 | |||
42 | AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) | ||
43 | |||
44 | ]) | ||