wscript: Fix build with system heimdal
commitbe2d90b60d19eca408b60fe4e1b49f9b418f1b97
authorChristof Schmitt <cs@samba.org>
Wed, 30 Oct 2019 20:15:48 +0000 (30 13:15 -0700)
committerChristof Schmitt <cs@samba.org>
Wed, 13 Nov 2019 17:49:38 +0000 (13 17:49 +0000)
tree5be5bf153d45fe3fd4cbbcb70eb7683f0a075a10
parent63f8d7732756b8a8452ab22ca205a29b27b7d1f1
wscript: Fix build with system heimdal

Ubuntu has heimdal include files in /usr/include/heimdal. As the
kerberos include files are pulled into many files through indirect
includes, add the discovered include paths to EXTRA_INCLUDES to
always have them available.

Also set USING_SYSTEM_KRB5 when enabling the system heimdal build,
to correctly handle the inclusion of the krb5-types.h file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
wscript_configure_system_heimdal