diff options
author | fche <fche> | 2008-01-13 03:06:33 +0000 |
---|---|---|
committer | fche <fche> | 2008-01-13 03:06:33 +0000 |
commit | 05de43cb8395b523d59de27dd964c6abe26e41e3 (patch) | |
tree | 3bcd6c1795aa85422da2c1ff864c398b62e422c6 /configure | |
parent | dc241cba4d146835d7bdc3c32133aad27cdfc8e4 (diff) | |
download | systemtap-steved-05de43cb8395b523d59de27dd964c6abe26e41e3.tar.gz systemtap-steved-05de43cb8395b523d59de27dd964c6abe26e41e3.tar.xz systemtap-steved-05de43cb8395b523d59de27dd964c6abe26e41e3.zip |
add git commit id as testsuite Snapshot field
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac: Generate a build tree SNAPSHOT file from git-rev-list,
if we suspect the source tree came from git.
* configure: Regenerated.
2008-01-12 Frank Ch. Eigler <fche@elastic.org>
* lib/systemtap.exp (get_system_info): Look for $builddir/SNAPSHOT too.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6572,6 +6572,13 @@ 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 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" |