From 086de4ddb522dd6d1ce927da2e2c14ed0ffca10f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 17 Jun 2008 22:45:29 +1000 Subject: Without stdlib.h we don't get a prototype for free(). This test fails if GCC emits any warnings (presumably to detect the function propertly), but unless we include this message then free() fail. Why we need to call free in a configure test is probably something to blame on valgrind... Andrew Bartlett (This used to be commit d013f6fadc3e80fabb4a1784207dabc84f9b7dc2) --- source3/configure.in | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/configure.in b/source3/configure.in index 7ac13398c9..e25c213d03 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3779,6 +3779,7 @@ if test x"$with_ads_support" != x"no"; then AC_CACHE_CHECK([for krb5_error_code krb5_enctype_to_string(krb5_context context, krb5_enctype enctype, char **str)], smb_krb5_cv_enctype_to_string_takes_krb5_context_arg,[ AC_TRY_RUN_STRICT([ + #include #include int main(void) { krb5_context context = NULL; -- cgit