diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 22:00:06 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2012-10-10 22:00:06 +0000 |
commit | 3656a3a76a352a57ade43c32145020e0758ff36a (patch) | |
tree | f17d4ae376aab939d690ec76d38796592b7d91c8 /m4 | |
parent | c432e725824c749af5ac6f437fcc94becc9a597f (diff) | |
download | efl-3656a3a76a352a57ade43c32145020e0758ff36a.tar.gz |
efl: m4 macro to ease config file creation.
SVN revision: 77832
Diffstat (limited to 'm4')
-rw-r--r-- | m4/eina_config.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/eina_config.m4 b/m4/eina_config.m4 new file mode 100644 index 0000000000..3a0e50b526 --- /dev/null +++ b/m4/eina_config.m4 @@ -0,0 +1,8 @@ +dnl use: EINA_CONFIG(configsuffix, testcond) +AC_DEFUN([EINA_CONFIG], +[ +if $2; then + EINA_CONFIGURE_$1="#define EINA_$1" +fi +AC_SUBST(EINA_CONFIGURE_$1) +]) |