mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 17:30:07 +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])
|
PKG_CHECK_MODULES([protobuf], [protobuf])
|
||||||
AC_LANG_PUSH([C++])
|
AC_LANG_PUSH([C++])
|
||||||
AC_PATH_PROG(PROTOC, protoc)
|
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
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user