summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-10 13:09:19 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-10 13:09:19 -0400
commitc0f9d4b0f1e4d1d49d238e4b2546de46f51166eb (patch)
tree1840274b5c81d6198ed56e48cd078dc9d7cc37eb /configure
parenta291e87b97bd7eefcd63cc63f37c14ccdae1a268 (diff)
downloadsystemtap-steved-c0f9d4b0f1e4d1d49d238e4b2546de46f51166eb.tar.gz
systemtap-steved-c0f9d4b0f1e4d1d49d238e4b2546de46f51166eb.tar.xz
systemtap-steved-c0f9d4b0f1e4d1d49d238e4b2546de46f51166eb.zip
PR6393: git version tagging at build time
2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 6393. * git_version.sh: New file, copied from radeonhd. * configure.ac: No longer generate $builddir/SNAPSHOT. * Makefile.am: Generate $builddir/git_version.h. (EXTRA_DIST): Add git_version.h and git_version.sh. * main.cxx (version): Print generated GIT_MESSAGE therefrom. * Makefile.in, configure: Regenerated.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure b/configure
index c8be8582..819c6f06 100755
--- a/configure
+++ b/configure
@@ -6812,13 +6812,6 @@ cap_LIBS="$LIBS"
LIBS="$SAVE_LIBS"
CFLAGS="$SAVE_CFLAGS"
-if test -d $srcdir/.git -a ! -f $srcdir/SNAPSHOT; then
- snapshot=`cd $srcdir; git-rev-list --abbrev-commit --max-count=1 HEAD`
- echo $snapshot > SNAPSHOT
- { echo "$as_me:$LINENO: Created git SNAPSHOT $snapshot" >&5
-echo "$as_me: Created git SNAPSHOT $snapshot" >&6;}
-fi
-
ac_config_headers="$ac_config_headers config.h:config.in"
ac_config_files="$ac_config_files Makefile doc/Makefile systemtap.spec stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5"