corrected included protobuf's path, to align with protobuf 1.0.0

This commit is contained in:
Nikos Mavrogiannopoulos
2014-08-24 08:14:11 +02:00
parent a186da0fdb
commit 60bea96cce
4 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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.