summaryrefslogtreecommitdiff
path: root/m4/gcc_check_builtin.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/gcc_check_builtin.m4')
-rw-r--r--m4/gcc_check_builtin.m413
1 files changed, 0 insertions, 13 deletions
diff --git a/m4/gcc_check_builtin.m4 b/m4/gcc_check_builtin.m4
deleted file mode 100644
index d512250..0000000
--- a/m4/gcc_check_builtin.m4
+++ /dev/null
@@ -1,13 +0,0 @@
1AC_DEFUN([EFL_CHECK_GCC_BUILTIN],
2[efl_check_gcc_builtin_save_libs=$LIBS
3EINA_CONFIGURE_$2=""
4LIBS="-lm $LIBS"
5AC_LINK_IFELSE(
6[AC_LANG_PROGRAM(
7[[]], [[return __builtin_$1(42);]]
8)],
9[EINA_CONFIGURE_$2="#define EINA_$2"
10AC_DEFINE([$2], [1], [GCC builtin $1 exists])])
11AC_SUBST(EINA_CONFIGURE_$2)
12LIBS=$efl_check_gcc_builtin_save_libs])
13