mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
configure.ac: error out if protoc is not found
This commit is contained in:
parent
c797b07eec
commit
ac71dd5859
@ -39,6 +39,9 @@ fi
|
||||
PKG_CHECK_MODULES([protobuf], [protobuf])
|
||||
AC_LANG_PUSH([C++])
|
||||
AC_PATH_PROG(PROTOC, protoc)
|
||||
if test -z "$PROTOC"; then
|
||||
AC_MSG_ERROR([Please install the protobuf compiler from https://code.google.com/p/protobuf/.])
|
||||
fi
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user