diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-05-17 00:02:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:49 -0500 |
commit | 29a8069aee510c9dcc1a216a52cc53639621caf9 (patch) | |
tree | e1d1116de6af03b1e5fb1722e7e81b0aefd0d009 /source4 | |
parent | 076b6dd51e14f5ea37dfe18b461badf916414689 (diff) | |
download | samba-29a8069aee510c9dcc1a216a52cc53639621caf9.tar.gz samba-29a8069aee510c9dcc1a216a52cc53639621caf9.tar.bz2 samba-29a8069aee510c9dcc1a216a52cc53639621caf9.zip |
r6838: Remove unnecessary calls to gensec_gsskrb5
Make the build system give a proper warning about this in the future
(This used to be commit 2d980465af87d25ce17b8340c6b5f662ef29edd3)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/config.m4 | 4 | ||||
-rw-r--r-- | source4/build/smb_build/input.pm | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/source4/auth/gensec/config.m4 b/source4/auth/gensec/config.m4 index 1af0a1d9c8..4565ce0b97 100644 --- a/source4/auth/gensec/config.m4 +++ b/source4/auth/gensec/config.m4 @@ -1,12 +1,8 @@ SMB_MODULE_DEFAULT(gensec_krb5, NOT) SMB_MODULE_DEFAULT(gensec_gssapi, NOT) -SMB_MODULE_DEFAULT(gensec_gsskrb5, NOT) if test x"$SMB_EXT_LIB_ENABLE_KRB5" = x"YES"; then # krb5 is now disabled at runtime, not build time SMB_MODULE_DEFAULT(gensec_krb5, STATIC) SMB_MODULE_DEFAULT(gensec_gssapi, STATIC) - if test x"$samba_cv_GSS_C_DCE_STYLE" = x"yes"; then - SMB_MODULE_DEFAULT(gensec_gsskrb5, STATIC) - fi fi diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 3876469fc4..8f0509692c 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -54,7 +54,9 @@ sub check_subsystem($$) return; } - $subsys->{OUTPUT_TYPE} = $subsystem_output_type; + unless(defined($subsys->{OUTPUT_TYPE})) { + $subsys->{OUTPUT_TYPE} = $subsystem_output_type; + } } sub check_module($$) @@ -173,7 +175,12 @@ sub check($) ($part->{ENABLE} = "YES") if not defined($part->{ENABLE}); } - foreach my $part (values %{$CTX->{INPUT}}) { + foreach my $k (keys %{$CTX->{INPUT}}) { + my $part = $CTX->{INPUT}->{$k}; + if (not defined($part->{TYPE})) { + print STDERR "$k does not have a type set.. Perhaps it's only mentioned in a .m4 but not in a .mk file?\n"; + next; + } check_subsystem($CTX, $part) if ($part->{TYPE} eq "SUBSYSTEM"); check_module($CTX, $part) if ($part->{TYPE} eq "MODULE"); check_library($CTX, $part) if ($part->{TYPE} eq "LIBRARY"); |