summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/cf/find-if-not-broken.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/heimdal/cf/find-if-not-broken.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/heimdal/cf/find-if-not-broken.m4 b/third_party/heimdal/cf/find-if-not-broken.m4
new file mode 100644
index 0000000..1397616
--- /dev/null
+++ b/third_party/heimdal/cf/find-if-not-broken.m4
@@ -0,0 +1,12 @@
+dnl $Id$
+dnl
+dnl
+dnl Mix between AC_FIND_FUNC and AC_BROKEN
+dnl
+
+AC_DEFUN([AC_FIND_IF_NOT_BROKEN],
+[AC_FIND_FUNC([$1], [$2], [$3], [$4])
+if eval "test \"$ac_cv_func_$1\" != yes"; then
+ rk_LIBOBJ([$1])
+fi
+])