summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-09-05 18:55:01 -0700
committerDavid Schleef <ds@schleef.org>2010-09-05 18:55:57 -0700
commitc2e10bf92174d6fc3b28d4eddc53498649f49108 (patch)
tree8c89f7a18afb13fd2d26ce5c68e1858b1ec300ef /m4
parentd3d9acf829af1b0bd867367138d3a7ba2b2675a9 (diff)
Allow user to override ORCC using env var
Diffstat (limited to 'm4')
-rw-r--r--m4/orc.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/orc.m4 b/m4/orc.m4
index d7abd81..ad0916a 100644
--- a/m4/orc.m4
+++ b/m4/orc.m4
@@ -21,7 +21,9 @@ AC_DEFUN([ORC_CHECK],
if test "x$enable_orc" != "xno" ; then
PKG_CHECK_MODULES(ORC, orc-0.4 >= $ORC_REQ, [
AC_DEFINE(HAVE_ORC, 1, [Use Orc])
- ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
+ if test "x$ORCC" = "x" ; then
+ ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
+ fi
AC_SUBST(ORCC)
ORCC_FLAGS="--compat $ORC_REQ"
AC_SUBST(ORCC_FLAGS)