From db499b515b3a9bcc44dbaa6837e1a2a90894d2a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 23 Apr 2007 09:56:54 +0000 Subject: [PATCH] r22483: Attempt to fix the build. Guenther --- source/configure.in | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/configure.in b/source/configure.in index d864ef5ddd5..5609270cb03 100644 --- a/source/configure.in +++ b/source/configure.in @@ -4023,10 +4023,11 @@ if test x"$with_ads_support" != x"no"; then AC_TRY_RUN_STRICT([ #include int main(void) { - krb5_context context; - char *str = NULL; - krb5_enctype_to_string(context, 1, &str); - if (str) free (str); + krb5_context context; + char *str = NULL; + krb5_enctype_to_string(context, 1, &str); + if (str) free (str); + return 0; } ],[$Werror_FLAGS],[$CPPFLAGS],[$LDFLAGS], smb_krb5_enctype_to_string_takes_krb5_context_arg=yes, @@ -4042,8 +4043,9 @@ if test x"$with_ads_support" != x"no"; then AC_TRY_RUN_STRICT([ #include int main(void) { - char buf[256]; - krb5_enctype_to_string(1, buf, 256); + char buf[256]; + krb5_enctype_to_string(1, buf, 256); + return 0; } ],[$Werror_FLAGS],[$CPPFLAGS],[$LDFLAGS], smb_krb5_enctype_to_string_takes_size_t_arg=yes, -- 2.47.3