mirror of
https://github.com/curl/curl.git
synced 2025-09-11 14:42:40 +03:00
cmake: do not propagate unused HAVE_GSSAPI_GSSAPI_KRB5_H
to C
Closes #15174
This commit is contained in:
parent
e888069f5a
commit
a79f20d376
1
.github/scripts/cmp-config.pl
vendored
1
.github/scripts/cmp-config.pl
vendored
|
@ -48,6 +48,7 @@ my %remove = (
|
|||
'#define HAVE_DECL_GETPWUID_R_MISSING 1' => 1,
|
||||
'#define HAVE_DLFCN_H 1' => 1,
|
||||
'#define HAVE_GETHOSTBYNAME 1' => 1,
|
||||
'#define HAVE_GSSAPI_GSSAPI_KRB5_H 1' => 1,
|
||||
'#define HAVE_INTTYPES_H 1' => 1,
|
||||
'#define HAVE_IOCTL 1' => 1,
|
||||
'#define HAVE_LDAP_H 1' => 1,
|
||||
|
|
|
@ -1180,7 +1180,7 @@ if(CURL_USE_GSSAPI)
|
|||
|
||||
check_include_file_concat("gssapi/gssapi.h" HAVE_GSSAPI_GSSAPI_H)
|
||||
check_include_file_concat("gssapi/gssapi_generic.h" HAVE_GSSAPI_GSSAPI_GENERIC_H)
|
||||
check_include_file_concat("gssapi/gssapi_krb5.h" HAVE_GSSAPI_GSSAPI_KRB5_H)
|
||||
check_include_file_concat("gssapi/gssapi_krb5.h" _have_gssapi_gssapi_krb5_h)
|
||||
|
||||
if(GSS_FLAVOUR STREQUAL "MIT")
|
||||
set(_include_list "")
|
||||
|
@ -1190,7 +1190,7 @@ if(CURL_USE_GSSAPI)
|
|||
if(HAVE_GSSAPI_GSSAPI_GENERIC_H)
|
||||
list(APPEND _include_list "gssapi/gssapi_generic.h")
|
||||
endif()
|
||||
if(HAVE_GSSAPI_GSSAPI_KRB5_H)
|
||||
if(_have_gssapi_gssapi_krb5_h)
|
||||
list(APPEND _include_list "gssapi/gssapi_krb5.h")
|
||||
endif()
|
||||
|
||||
|
|
|
@ -321,9 +321,6 @@
|
|||
/* Define to 1 if you have the <gssapi/gssapi.h> header file. */
|
||||
#cmakedefine HAVE_GSSAPI_GSSAPI_H 1
|
||||
|
||||
/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
|
||||
#cmakedefine HAVE_GSSAPI_GSSAPI_KRB5_H 1
|
||||
|
||||
/* if you have the GNU gssapi libraries */
|
||||
#cmakedefine HAVE_GSSGNU 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user