build-sys: introduce a special build flag to explicitly disables running from build...
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 7 Dec 2018 07:48:49 +0000 (15:48 +0800)
committerTanu Kaskinen <tanuk@iki.fi>
Tue, 11 Dec 2018 14:15:32 +0000 (16:15 +0200)
commit3d9deb1e5679e15c3277e144a822be9b0a036514
treebc1508253eade06a827f7ba2e304cc8ad9cadbed
parentbae8c16bfadb43c596b03f9c7ff7c9e9f1709b76
build-sys: introduce a special build flag to explicitly disables running from build tree

It is helpful to improve reproducibility build [1] since
PA_SRCDIR/PA_BUILDDIR contains build path,
--disable-running-from-build-tree could drop these macros at
precompilation.

[1] https://reproducible-builds.org/

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
configure.ac
src/daemon/daemon-conf.c
src/daemon/main.c
src/modules/alsa/alsa-mixer.c
src/modules/gconf/module-gconf.c
src/modules/gsettings/module-gsettings.c
src/pulsecore/core-util.c