summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorIsaac Boukris <iboukris@gmail.com>2017-07-18 21:46:21 +0300
committerMarcel Raad <Marcel.Raad@teamviewer.com>2017-09-15 14:09:08 +0200
commit56d949d31ad182a22bd3bad25b1a902b635d549d (patch)
treee95d973da761d9a87eeff98db678f84d7aed97aa /configure.ac
parent65872efea74f16552e2e0e516164b01913fd706f (diff)
downloadcurl-56d949d31ad182a22bd3bad25b1a902b635d549d.tar.gz
tests: add initial gssapi test using stub implementation
The stub implementation is pre-loaded using LD_PRELOAD and emulates common gssapi uses (only builds if curl is initially built with gssapi support). The initial tests are currently disabled for debug builds as LD_PRELOAD is not used then. Ref: https://github.com/curl/curl/pull/1687
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 234da1052..4d5018d91 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1335,6 +1335,13 @@ else
CPPFLAGS="$save_CPPFLAGS"
fi
+build_libstubgss=no
+if test x"$want_gss" = "xyes"; then
+ build_libstubgss=yes
+fi
+
+AM_CONDITIONAL(BUILD_STUB_GSS, test "x$build_libstubgss" = "xyes")
+
dnl -------------------------------------------------------------
dnl parse --with-default-ssl-backend so it can be validated below
dnl -------------------------------------------------------------