Add configure test for protoc
This commit is contained in:
committed by
Keith Winstein
parent
17d6962af8
commit
5c1020c51a
@@ -12,6 +12,7 @@ AC_CONFIG_HEADERS([config.h])
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_RANLIB
|
||||
AC_PATH_PROG([PROTOC], [protoc], [AC_MSG_ERROR([protoc is not found])])
|
||||
|
||||
WARNING_CXXFLAGS=""
|
||||
PICKY_CXXFLAGS=""
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
source = userinput.proto hostinput.proto transportinstruction.proto
|
||||
|
||||
PROTOC = protoc
|
||||
AM_CPPFLAGS = $(protobuf_CFLAGS)
|
||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS) -fno-default-inline -pipe
|
||||
|
||||
|
||||
Reference in New Issue
Block a user