diff options
| author | Yang Tse <yangsita@gmail.com> | 2007-04-10 18:53:21 +0000 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2007-04-10 18:53:21 +0000 | 
| commit | d8d3dc9302d0bf401708bfb76185bbaaf6d05dc0 (patch) | |
| tree | 46e5f239cc284d3c03abab47869eee1f7815f9b6 /configure.ac | |
| parent | 5be7b543d8aa25ccac7910f605a267a55d171d19 (diff) | |
--enable-sspi only supported on Windows native builds
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 17 | 
1 files changed, 12 insertions, 5 deletions
| diff --git a/configure.ac b/configure.ac index 00d0553ce..7d6e3fca8 100644 --- a/configure.ac +++ b/configure.ac @@ -2124,19 +2124,26 @@ AC_HELP_STRING([--disable-verbose],[Disable verbose strings]),         AC_MSG_RESULT(yes)  ) +CURL_CHECK_NATIVE_WINDOWS +  dnl ************************************************************  dnl enable SSPI support  dnl -AC_MSG_CHECKING([whether to enable SSPI support (win32 builds only)]) +AC_MSG_CHECKING([whether to enable SSPI support (Windows native builds only)])  AC_ARG_ENABLE(sspi,  AC_HELP_STRING([--enable-sspi],[Enable SSPI])  AC_HELP_STRING([--disable-sspi],[Disable SSPI]),  [ case "$enableval" in    yes) -       AC_MSG_RESULT(yes) -       AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support]) -       AC_SUBST(USE_WINDOWS_SSPI) -       curl_sspi_msg="yes" +       if test "$ac_cv_native_windows" = "yes"; then +         AC_MSG_RESULT(yes) +         AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support]) +         AC_SUBST(USE_WINDOWS_SSPI) +         curl_sspi_msg="yes" +       else +         AC_MSG_RESULT(no) +         AC_MSG_WARN([--enable-sspi Ignored. Only supported on native Windows builds.]) +       fi         ;;    *)         AC_MSG_RESULT(no) | 
