~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_protobuf.m4

  • Committer: Monty Taylor
  • Date: 2011-03-07 16:42:18 UTC
  • mto: (2221.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 2222.
  • Revision ID: mordred@inaugust.com-20110307164218-05ymeyo2hj0ae771
Adds ability to just build libdrizzle without needing all of the rest of the
drizzle depends. New configure option --without-server and then a make
libdrizzle and make install-libdrizzle make targets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
AC_DEFUN([PANDORA_REQUIRE_LIBPROTOBUF],[
37
37
  AC_REQUIRE([PANDORA_HAVE_LIBPROTOBUF])
38
38
  AS_IF([test x$ac_cv_libprotobuf = xno],
39
 
      AC_MSG_ERROR([libprotobuf is required for ${PACKAGE}. On Debian this can be found in libprotobuf-dev. On RedHat this can be found in protobuf-devel.]))
 
39
      PANDORA_MSG_ERROR([libprotobuf is required for ${PACKAGE}. On Debian this can be found in libprotobuf-dev. On RedHat this can be found in protobuf-devel.]))
40
40
])
41
41
 
42
42
AC_DEFUN([PANDORA_PROTOBUF_REQUIRE_VERSION],[
58
58
    [drizzle_cv_protobuf_recent=yes],
59
59
    [drizzle_cv_protobuf_recent=no])])
60
60
  AS_IF([test "$drizzle_cv_protobuf_recent" = "no"],[
61
 
    AC_MSG_ERROR([Your version of Google Protocol Buffers is too old. ${PACKAGE} requires at least version $p_recent_ver])
 
61
    PANDORA_MSG_ERROR([Your version of Google Protocol Buffers is too old. ${PACKAGE} requires at least version $p_recent_ver])
62
62
  ])
63
63
  AC_LANG_POP()
64
64
])
75
75
AC_DEFUN([PANDORA_REQUIRE_PROTOC],[
76
76
  AC_REQUIRE([PANDORA_HAVE_PROTOC])
77
77
  AS_IF([test "x$PROTOC" = "xno"],[
78
 
    AC_MSG_ERROR([Couldn't find the protoc compiler. On Debian this can be found in protobuf-compiler. On RedHat this can be found in protobuf-compiler.])
 
78
    PANDORA_MSG_ERROR([Couldn't find the protoc compiler. On Debian this can be found in protobuf-compiler. On RedHat this can be found in protobuf-compiler.])
79
79
  ])
80
80
])
81
81