diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-02-07 18:11:30 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-02-07 18:40:48 +0100 |
commit | fbbd58dc587bdd16edc7d780a17b4261d27478e6 (patch) | |
tree | 9fe51714708aab2fa6ab22c4801b805ef1137023 /configure.ac | |
parent | 6e8acc24eb8eb5f91e2db5e11457bb44e2b19f23 (diff) |
Allow setting ICECC_VERSION in the autogen.input.
That way you can avoid having to set ICECC_VERSION in every shell where you
want to use icecream with cross-compilation. See
http://holesovsky.blogspot.cz/2015/02/using-icecream-to-speed-up-libreoffice.html
for details.
Change-Id: I1adf67934c2687f0fca1b73e7793b72120eeedab
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d8401fc5b4e7..0e27a30a04e8 100644 --- a/configure.ac +++ b/configure.ac @@ -12637,6 +12637,17 @@ fi AC_SUBST(ICECREAM_RUN) dnl =================================================================== +dnl Setup the ICECC_VERSION for the build the same way it was set for +dnl configure, so that CC/CXX and ICECC_VERSION are in sync +dnl =================================================================== +x_ICECC_VERSION=[\#] +if test -n "$ICECC_VERSION" ; then + x_ICECC_VERSION= +fi +AC_SUBST(x_ICECC_VERSION) +AC_SUBST(ICECC_VERSION) + +dnl =================================================================== AC_MSG_CHECKING([MPL subset]) MPL_SUBSET= |