Commit ac71dd58 authored by Robert Edmonds's avatar Robert Edmonds

configure.ac: error out if protoc is not found

parent c797b07e
...@@ -39,6 +39,9 @@ fi ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment