45
45
p_recent_ver_patch=`echo $p_recent_ver | cut -f3 -d.`
46
46
p_recent_ver_hex=`printf "%d%03d%03d" $p_recent_ver_major $p_recent_ver_minor $p_recent_ver_patch`
49
50
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
50
51
#include <google/protobuf/descriptor.h>
51
52
#if GOOGLE_PROTOBUF_VERSION < $p_recent_ver_hex
52
53
# error Your version of Protobuf is too old
57
58
AS_IF([test "$drizzle_cv_protobuf_recent" = "no"],[
58
59
AC_MSG_ERROR([Your version of Google Protocol Buffers is too old. ${PACKAGE} requires at least version $p_recent_ver])