On Sat, Apr 28, 2012 at 9:00 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > If configure is located at git repository, acquire branch and revision > of head to be printed at --version output. > > Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> > --- > configure.ac | 11 +++++++++++ > src/openvpn/options.c | 3 +++ > 2 files changed, 14 insertions(+), 0 deletions(-)
David, Check if this meets your requirement. It won't survive make dist, but if compiled directly from repository the HEAD will be visible. Surviving make dist is doable if some file is generated, but this file will stay the same even if there are local modifications... So I don't think it worth both the effort and the confusion. Alon.