summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-30 11:20:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:23 -0500
commit45e4982ccaecf2fc3ca6716767a8e343625a280d (patch)
tree631ffe947ebd92a36fac719d935b7ed026357056 /source4/build/m4
parent99beb7b32964328703dfc9cd33886f5ab373b8c0 (diff)
downloadsamba-45e4982ccaecf2fc3ca6716767a8e343625a280d.tar.gz
samba-45e4982ccaecf2fc3ca6716767a8e343625a280d.tar.bz2
samba-45e4982ccaecf2fc3ca6716767a8e343625a280d.zip
r14816: Simplify test for comparison_fn_t
(This used to be commit 594215d1176b23596549fd4e4098d42ef41f7d0d)
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/rewrite.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index b3198f1c2c..2e94fb215e 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -714,23 +714,3 @@ if test $space = no; then
AC_DEFINE(STAT_STATFS2_FS_DATA,1,[Whether statfs requires 2 arguments and struct fs_data is available])
fi
fi
-
-
-
-#######################################
-# Check for comparison_fn_t
-AC_CACHE_CHECK([for comparison_fn_t],samba_cv_HAVE_COMPARISON_FN_T,[
-AC_TRY_COMPILE([
-#include <stdlib.h>
-int list_find(const void *needle,
- const void *base, size_t nmemb, size_t size, comparison_fn_t comp_fn)
-{
- return 1;
-}
-],[],
-samba_cv_HAVE_COMPARISON_FN_T=yes,samba_cv_HAVE_COMPARISON_FN_T=no)
-])
-if test x"$samba_cv_HAVE_COMPARISON_FN_T" = x"yes"; then
- AC_DEFINE(HAVE_COMPARISON_FN_T,1,[Whether or not we have comparison_fn_t])
-fi
-