diff options
author | Günther Deschner <gd@samba.org> | 2007-04-23 09:56:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:38 -0500 |
commit | 678ca586f046dc61691267b3e9b6b95cc385c4e3 (patch) | |
tree | d49644986d0fccdc846cc7f47a0bdd25b7c7ea4e | |
parent | 5e7174a2c831883a23ce17b48e3787855b3bb8ff (diff) | |
download | samba-678ca586f046dc61691267b3e9b6b95cc385c4e3.tar.gz samba-678ca586f046dc61691267b3e9b6b95cc385c4e3.tar.bz2 samba-678ca586f046dc61691267b3e9b6b95cc385c4e3.zip |
r22483: Attempt to fix the build.
Guenther
(This used to be commit db499b515b3a9bcc44dbaa6837e1a2a90894d2a2)
-rw-r--r-- | source3/configure.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in index d864ef5ddd..5609270cb0 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4023,10 +4023,11 @@ if test x"$with_ads_support" != x"no"; then AC_TRY_RUN_STRICT([ #include <krb5.h> 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 <krb5.h> 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, |