From dcb174a351c63441f39669145f2032fec51b7b27 Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 14 Nov 2007 19:13:46 +0100 Subject: Still messing with dist tarball detection --- git-buildmsg/git-buildmsg.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'git-buildmsg/git-buildmsg.in') diff --git a/git-buildmsg/git-buildmsg.in b/git-buildmsg/git-buildmsg.in index 1f7d5ea..4ba0b70 100644 --- a/git-buildmsg/git-buildmsg.in +++ b/git-buildmsg/git-buildmsg.in @@ -37,6 +37,8 @@ # # Ideas: # * Output for languages other than C (Erlang, Python, Perl, sh, ...) +# * Recognize difference between being built from "non-git" sources and +# a dist tarball generated from git rev XYZ. # The caller may have found these programs for us SED="${SED-sed}" @@ -223,8 +225,10 @@ cat< #include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + int main(int argc, char *argv[]) { const char *const idx = strrchr(argv[0], '/'); -- cgit