build-sys: Move ORC_SOURCE definitions outside of "if HAVE_ORC"

Not having ORC_SOURCE defined results in different tarballs depending on
whether the dev issuing 'make dist' has orc support enabled or disabled.

Specifying ORC_SOURCE unconditionally addresses that, without causing
negative effects on users not having orc in the end.
This commit is contained in:
Dominique Leuenberger 2014-01-24 21:45:52 +01:00 committed by Tanu Kaskinen
parent 0779caf3e8
commit a360b29a0a
2 changed files with 4 additions and 2 deletions

View file

@ -22,6 +22,7 @@
EXTRA_DIST += $(addsuffix .orc,$(ORC_SOURCE))
if HAVE_ORC
ORC_BUILT_SOURCE = $(addsuffix -orc-gen.c,$(ORC_SOURCE))
ORC_BUILT_HEADER = $(addsuffix -orc-gen.h,$(ORC_SOURCE))
@ -44,3 +45,4 @@ cp_v_gen_0 = @echo " CP $@";
%-orc-gen.h: %.orc
@mkdir -p $(@D)
$(orcc_v_gen)$(ORCC) --header -o $@ $<
endif