r22483: Attempt to fix the build.
authorGünther Deschner <gd@samba.org>
Mon, 23 Apr 2007 09:56:54 +0000 (09:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:38 +0000 (12:19 -0500)
Guenther

source/configure.in

index d864ef5ddd5002f89e8bc187863273914d7cb44d..5609270cb03fcda04903876c6471d94678665a30 100644 (file)
@@ -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,