summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 22:00:06 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 22:00:06 +0000
commit3656a3a76a352a57ade43c32145020e0758ff36a (patch)
treef17d4ae376aab939d690ec76d38796592b7d91c8 /m4
parentc432e725824c749af5ac6f437fcc94becc9a597f (diff)
efl: m4 macro to ease config file creation.
SVN revision: 77832
Diffstat (limited to 'm4')
-rw-r--r--m4/eina_config.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/eina_config.m4 b/m4/eina_config.m4
new file mode 100644
index 0000000..3a0e50b
--- /dev/null
+++ b/m4/eina_config.m4
@@ -0,0 +1,8 @@
1dnl use: EINA_CONFIG(configsuffix, testcond)
2AC_DEFUN([EINA_CONFIG],
3[
4if $2; then
5 EINA_CONFIGURE_$1="#define EINA_$1"
6fi
7AC_SUBST(EINA_CONFIGURE_$1)
8])