aboutsummaryrefslogtreecommitdiffstats
path: root/src/ckinfo.h.in
blob: 3b7f8430517a10aa54b01bb93c942a6e288ca05f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CK_INFO_H
#define CK_INFO_H

#include <stdio.h>

#define CK_MAJOR_VERSION @ck_MAJOR_VERSION@
#define CK_MINOR_VERSION @ck_MINOR_VERSION@


extern void print_version() {
  printf("ck version %d.%d\n", CK_MAJOR_VERSION, CK_MINOR_VERSION);
  printf("ck Copyright (C) 2018 gramanas\n\
This program comes with ABSOLUTELY NO WARRANTY.\n\
This is free software, and you are welcome to redistribute it under\n\
certain condition. See the LICENCE file in the source tree for details.\n");
}

#endif /* CK_INFO_H */