Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/eselect:master commit in: /
Date: Sun, 27 Oct 2013 14:51:34
Message-Id: 1382885553.049d81a577c9a678888f5b33d8e9427d27ff73b2.ulm@gentoo
1 commit: 049d81a577c9a678888f5b33d8e9427d27ff73b2
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 27 14:52:33 2013 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 27 14:52:33 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=049d81a5
7
8 Output git revision in configure.
9
10 ---
11 configure.ac | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/configure.ac b/configure.ac
15 index fee1fe2..af5b792 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -78,11 +78,11 @@ AC_SUBST(EPREFIX)
19 AC_MSG_CHECKING([whether building from git])
20 EXTRAVERSION=""
21 if test -d ${GIT_DIR:-.git}; then
22 - AC_MSG_RESULT(yes)
23 GITREV=`git rev-parse --short HEAD`
24 if test x$GITREV != x; then
25 EXTRAVERSION="-git-$GITREV"
26 fi
27 + AC_MSG_RESULT([yes${GITREV:+, at revision $GITREV}])
28 else
29 AC_MSG_RESULT(no)
30 fi