mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-11 01:06:59 +08:00
include kkdcp_asn1_tab.c only when GSSAPI is included
This commit is contained in:
@@ -390,6 +390,8 @@ PKG_CHECK_MODULES(LIBTASN1, [libtasn1 >= 3.9])
|
||||
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(HAVE_GSSAPI, test "$enable_gssapi" = yes)
|
||||
|
||||
dnl needed in the included PCL
|
||||
AC_C_VOLATILE
|
||||
AC_C_CONST
|
||||
|
||||
@@ -87,6 +87,9 @@ ocserv_SOURCES = main.c main-auth.c worker-vpn.c worker-auth.c tlslib.c \
|
||||
str.c str.h gettime.h $(CCAN_SOURCES) $(HTTP_PARSER_SOURCES) \
|
||||
$(PROTOBUF_SOURCES) kkdcp.asn kkdcp_asn1_tab.c sec-mod-acct.h
|
||||
|
||||
if HAVE_GSSAPI
|
||||
ocserv_SOURCES += kkdcp_asn1_tab.c
|
||||
endif
|
||||
|
||||
ocserv_SOURCES += ipc.pb-c.h ipc.pb-c.c ctl.pb-c.c ctl.pb-c.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user