mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
9921e58aba
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.
15 lines
331 B
C
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;
|