summaryrefslogtreecommitdiff
path: root/m4/eina_config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/eina_config.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..609e4f9
--- /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])