diff options
author | David Schleef <ds@schleef.org> | 2010-09-05 18:55:01 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-09-05 18:55:57 -0700 |
commit | c2e10bf92174d6fc3b28d4eddc53498649f49108 (patch) | |
tree | 8c89f7a18afb13fd2d26ce5c68e1858b1ec300ef /m4 | |
parent | d3d9acf829af1b0bd867367138d3a7ba2b2675a9 (diff) |
Allow user to override ORCC using env var
Diffstat (limited to 'm4')
-rw-r--r-- | m4/orc.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |