1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00
elinks/src/vernum.c
Jonas Fonseca 9921e58aba Put the commit ID in the version string
Finally, we are able to identify the builds more accurately. Now we check
if commit-id (cogito tool) is available and pass the output to vernum.c
compilation which then exports it as a build_id string.

The first line of --version is now a bit long, we should probably move the
build date to a second indented line or something.
2005-09-17 14:45:59 +02:00

15 lines
331 B
C

/* Version numbers etc; always rebuilt to reflect the latest info */
/* $Id: vernum.c,v 1.1 2004/04/23 12:29:19 pasky Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "elinks.h"
#include "vernum.h"
unsigned char *build_date = __DATE__;
unsigned char *build_time = __TIME__;
unsigned char *build_id = BUILD_ID;