summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 19:47:09 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 19:47:09 +0000
commitc0a827d2ebf8472173c2a00ca2d2494a00d4fbae (patch)
tree85a76d632b2a1c26f8233f3ccfda6956681d17e3 /m4
parentb40dcff62f1e25cd7f9b5d5ff5f43b13ea6acd54 (diff)
downloadefl-c0a827d2ebf8472173c2a00ca2d2494a00d4fbae.tar.gz
efl: removed as they are now unused.
SVN revision: 82231
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_binary.m477
-rw-r--r--m4/efl_enable.m433
2 files changed, 0 insertions, 110 deletions
diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4
deleted file mode 100644
index b4fb0ec126..0000000000
--- a/m4/efl_binary.m4
+++ /dev/null
@@ -1,77 +0,0 @@
-dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that checks if a binary is built or not
-
-dnl Usage: EFL_ENABLE_BIN(binary)
-dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _)
-dnl Define have_binary (- is transformed into _)
-dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _)
-
-AC_DEFUN([EFL_ENABLE_BIN],
-[
-
-m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
-m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
-
-have_[]m4_defn([DOWN])="yes"
-
-dnl configure option
-
-AC_ARG_ENABLE([binary-$1],
- [AC_HELP_STRING([--disable-binary-$1], [disable building of ]DOWN[ binary])],
- [
- if test "x${enableval}" = "xyes" ; then
- have_[]m4_defn([DOWN])="yes"
- else
- have_[]m4_defn([DOWN])="no"
- fi
- ])
-
-AC_MSG_CHECKING([whether to build ]DOWN[ binary])
-AC_MSG_RESULT([$have_[]m4_defn([DOWN])])
-
-if test "x$have_[]m4_defn([DOWN])" = "xyes"; then
- UP[]_PRG=DOWN[${EXEEXT}]
-fi
-
-AC_SUBST(UP[]_PRG)
-
-AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3])
-
-])
-
-dnl Macro that specifies the binary to be used
-
-dnl Usage: EFL_WITH_BIN(binary, package, msg)
-dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _)
-dnl Define with_binary (- is transformed into _)
-dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _)
-
-AC_DEFUN([EFL_WITH_BIN],
-[
-
-m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
-m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
-
-AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-AC_MSG_NOTICE([$PKG_CONFIG])
-
-with_[]m4_defn([DOWN])=m4_esyscmd($PKG_CONFIG --variable=prefix $2)/bin/m4_defn([DOWN])
-
-dnl configure option
-
-AC_ARG_WITH([$1],
- [AC_HELP_STRING([--with-$1-bin=PATH], [specify a specific path to ]DOWN)],
- [
- with_[]m4_defn([DOWN])=$withval
- _efl_msg="( explicitely set)"
- ])
-
-AC_MSG_NOTICE([$msg: ]m4_defn([DOWN])[$_efl_msg])
-
-AC_SUBST(with_[]m4_defn([DOWN]))
-
-AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$4], [$5])
-
-])
diff --git a/m4/efl_enable.m4 b/m4/efl_enable.m4
deleted file mode 100644
index aad6ce6795..0000000000
--- a/m4/efl_enable.m4
+++ /dev/null
@@ -1,33 +0,0 @@
-dnl Copyright (C) 2012 Vincent Torri <vtorri at univ-evry dot fr>
-dnl That code is public domain and can be freely used or copied.
-
-dnl Macro that allows an EFL to not be built
-
-dnl Usage: EFL_ENABLE_LIB(lib, want)
-dnl Define efl_want_build_lib (- is transformed into _)
-dnl Define conditional EFL_BUILD_LIB (LIB is the uppercase of lib, - being transformed into _)
-
-AC_DEFUN([EFL_ENABLE_LIB],
-[
-
-m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl
-m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl
-
-dnl configure option
-
-AC_ARG_ENABLE([build-$1],
- [AC_HELP_STRING([--disable-build-$1], [disable building of ]DOWN)],
- [
- if test "x${enableval}" = "xyes" ; then
- efl_want_build_[]m4_defn([DOWN])="yes"
- else
- efl_want_build_[]m4_defn([DOWN])="no"
- fi
- ],
- [efl_want_build_[]m4_defn([DOWN])=$2])
-
-AC_MSG_CHECKING([whether to build ]DOWN[ binary])
-AC_MSG_RESULT([${efl_want_build_[]m4_defn([DOWN])}])
-
-AM_CONDITIONAL(EFL_BUILD_[]UP, test "x${efl_want_build_[]m4_defn([DOWN])}" = "xyes")
-])