summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2013-08-29 14:50:58 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-29 14:50:54 +0000
commit181d0a163f8c8f744077021eb550f0e6304fb4da (patch)
tree90f908473998a0b60204ca899e1cedcfeaf62d3d
parent2ab0e4df9951009d68614583c0db3527e07f7bab (diff)
Allow to set EXTRA_BUILDID also via environment variable (fdo#58034)
This is much easier with tinderboxed that work with static autogen.input Change-Id: Ifb0b7884bbad14a286023b3dbd7d1d2a12f36787 Reviewed-on: https://gerrit.libreoffice.org/5679 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1d5acd21271a..059b3e826d03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11477,10 +11477,12 @@ AC_SUBST(PROGRESSTEXTCOLOR)
AC_SUBST(PROGRESSTEXTBASELINE)
-EXTRA_BUILDID=
AC_MSG_CHECKING([for extra build ID])
if test -n "$with_extra_buildid" -a "$with_extra_buildid" != "yes" ; then
EXTRA_BUILDID="$with_extra_buildid"
+fi
+# in tinderboxes, it is easier to set EXTRA_BUILDID via the environment variable instead of configure switch
+if test -n "$EXTRA_BUILDID" ; then
AC_MSG_RESULT([$EXTRA_BUILDID])
else
AC_MSG_RESULT([not set])