From d3d9acf829af1b0bd867367138d3a7ba2b2675a9 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Sun, 5 Sep 2010 12:07:28 +0200 Subject: orc: Add --compat $ORC_REQ to the orcc commandlines This allows orcc to always use the latest features of the required orc version instead of always generating code that would still work with 0.4.5 or even earlier. --- m4/orc.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/orc.m4 b/m4/orc.m4 index f6355ff..d7abd81 100644 --- a/m4/orc.m4 +++ b/m4/orc.m4 @@ -5,7 +5,7 @@ dnl ORC_CHECK([REQUIRED_VERSION]) AC_DEFUN([ORC_CHECK], [ - ORC_REQ=ifelse([$1], , "0.4.5", [$1]) + ORC_REQ=ifelse([$1], , "0.4.6", [$1]) AC_ARG_ENABLE(orc, AC_HELP_STRING([--enable-orc],[use Orc if installed]), @@ -23,6 +23,8 @@ AC_DEFUN([ORC_CHECK], AC_DEFINE(HAVE_ORC, 1, [Use Orc]) ORCC=`$PKG_CONFIG --variable=orcc orc-0.4` AC_SUBST(ORCC) + ORCC_FLAGS="--compat $ORC_REQ" + AC_SUBST(ORCC_FLAGS) HAVE_ORC=yes ], [ if test "x$enable_orc" = "xyes" ; then -- cgit v1.2.3