mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 09:53:22 +00:00
Merge pull request #8747 from LabNConsulting/chopps/improve-grpc-req-checks
grpc: improve checks for GRPC C++ requirements
This commit is contained in:
commit
525ec2e073
@ -1924,7 +1924,7 @@ dnl ---------------
|
||||
dnl gRPC
|
||||
dnl ---------------
|
||||
if test "$enable_grpc" = "yes"; then
|
||||
AC_LANG([C++])
|
||||
AC_LANG_PUSH([C++])
|
||||
AX_CXX_COMPILE_STDCXX([11], [ext])
|
||||
PKG_CHECK_MODULES([GRPC], [grpc >= 6.0.0 grpc++ >= 1.16.1 protobuf >= 3.6.1 ], [
|
||||
AC_CHECK_PROGS([PROTOC], [protoc], [/bin/false])
|
||||
@ -1938,6 +1938,7 @@ if test "$enable_grpc" = "yes"; then
|
||||
GRPC=false
|
||||
AC_MSG_ERROR([grpc/grpc++ were not found on your system.])
|
||||
])
|
||||
AC_LANG_POP([C++])
|
||||
fi
|
||||
|
||||
dnl -----
|
||||
|
Loading…
Reference in New Issue
Block a user