diff options
author | Ulrich Müller <ulm@gentoo.org> | 2013-10-27 15:52:33 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-10-27 15:52:33 +0100 |
commit | 049d81a577c9a678888f5b33d8e9427d27ff73b2 (patch) | |
tree | a56807d29c045b507a5d33c2789ed8ba45c0d7c0 | |
parent | Function 'colours' accepts an argument. Remove 'nocolours'. (diff) | |
download | eselect-049d81a577c9a678888f5b33d8e9427d27ff73b2.tar.gz eselect-049d81a577c9a678888f5b33d8e9427d27ff73b2.tar.bz2 eselect-049d81a577c9a678888f5b33d8e9427d27ff73b2.zip |
Output git revision in configure.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fee1fe2..af5b792 100644 --- a/configure.ac +++ b/configure.ac @@ -78,11 +78,11 @@ AC_SUBST(EPREFIX) AC_MSG_CHECKING([whether building from git]) EXTRAVERSION="" if test -d ${GIT_DIR:-.git}; then - AC_MSG_RESULT(yes) GITREV=`git rev-parse --short HEAD` if test x$GITREV != x; then EXTRAVERSION="-git-$GITREV" fi + AC_MSG_RESULT([yes${GITREV:+, at revision $GITREV}]) else AC_MSG_RESULT(no) fi |