summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/cf/broken.m4
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/heimdal/cf/broken.m4')
-rw-r--r--third_party/heimdal/cf/broken.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/heimdal/cf/broken.m4 b/third_party/heimdal/cf/broken.m4
new file mode 100644
index 0000000..1c8db72
--- /dev/null
+++ b/third_party/heimdal/cf/broken.m4
@@ -0,0 +1,12 @@
+dnl $Id$
+dnl
+dnl
+dnl Same as AC _REPLACE_FUNCS, just define HAVE_func if found in normal
+dnl libraries
+
+AC_DEFUN([AC_BROKEN],
+[AC_FOREACH([rk_func], [$1],
+ [AC_CHECK_FUNC(rk_func,
+ [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]rk_func), 1,
+ [Define if you have the function `]rk_func['.])],
+ [rk_LIBOBJ(rk_func)])])])