mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
corrected included protobuf's path, to align with protobuf 1.0.0
This commit is contained in:
@@ -78,7 +78,7 @@ if test "$test_for_protobuf" = yes;then
|
||||
PKG_CHECK_MODULES([LIBPROTOBUF_C], [libprotobuf-c],
|
||||
with_local_protobuf_c=no
|
||||
,
|
||||
[AC_LIB_HAVE_LINKFLAGS(protobuf-c,, [#include <google/protobuf-c/protobuf-c.h>], [protobuf_c_message_pack(0,0);])
|
||||
[AC_LIB_HAVE_LINKFLAGS(protobuf-c,, [#include <protobuf-c/protobuf-c.h>], [protobuf_c_message_pack(0,0);])
|
||||
if test x$ac_cv_libprotobuf_c = xyes; then
|
||||
AC_SUBST([LIBPROTOBUF_C_LIBS], [$LIBPROTOBUF_C])
|
||||
with_local_protobuf_c=no
|
||||
|
||||
@@ -55,7 +55,7 @@ ocserv-args.h: ocserv-args.c
|
||||
|
||||
PROTOBUF_SOURCES =
|
||||
if LOCAL_PROTOBUF_C
|
||||
PROTOBUF_SOURCES += protobuf/google/protobuf-c/protobuf-c.h protobuf/google/protobuf-c/protobuf-c.c
|
||||
PROTOBUF_SOURCES += protobuf/protobuf-c/protobuf-c.h protobuf/protobuf-c/protobuf-c.c
|
||||
endif
|
||||
|
||||
# Files common to ocserv and occtl.
|
||||
|
||||
Reference in New Issue
Block a user