summaryrefslogtreecommitdiffstats
path: root/pcitool/buildinfo.c
blob: 624a934bfa112ddafc3fbb806ac7a1857861f14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <string.h>
#include "pcilib/build.h"

void BuildInfo() {
    printf("\n");
    printf("Revision: %s built on %s in %s\n", PCILIB_REVISION, PCILIB_BUILD_DATE, PCILIB_BUILD_DIR);
    printf("Branch: %s by %s\n", PCILIB_REVISION_BRANCH, PCILIB_REVISION_AUTHOR);
    if (strlen(PCILIB_REVISION_MODIFICATIONS)) {
	printf("Modifications: %s - %s\n",  PCILIB_LAST_MODIFICATION, PCILIB_REVISION_MODIFICATIONS);
    }
}