summaryrefslogtreecommitdiff
path: root/m4/efl_define.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_define.m4')
-rw-r--r--m4/efl_define.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/m4/efl_define.m4 b/m4/efl_define.m4
deleted file mode 100644
index 2b73a69..0000000
--- a/m4/efl_define.m4
+++ /dev/null
@@ -1,20 +0,0 @@
1dnl
2dnl EFL_CHECK_DEFINE(symbol, header_file)
3dnl
4dnl NOTE: EFL_CHECK_DEFINE is strongly inspired by
5dnl APR_CHECK_DEFINE which can be found in the
6dnl sources of Apache's APR (under Apache Licence)
7dnl
8AC_DEFUN([EFL_CHECK_DEFINE], [
9 AC_CACHE_CHECK([for $1 in $2],ac_cv_define_$1,[
10 AC_EGREP_CPP(YES_IS_DEFINED, [
11#include <$2>
12#ifdef $1
13YES_IS_DEFINED
14#endif
15 ], ac_cv_define_$1=yes, ac_cv_define_$1=no)
16 ])
17 if test "$ac_cv_define_$1" = "yes"; then
18 AC_DEFINE(HAVE_$1, 1, [Define if $1 is defined in $2])
19 fi
20])