diff --git a/aribb25/config.h.in b/aribb25/config.h.in index 77ac201..113e08d 100644 --- a/aribb25/config.h.in +++ b/aribb25/config.h.in @@ -1,6 +1,12 @@ #ifndef CONFIG_H #define CONFIG_H +#define ARIBB1_MAJOR_VERSION @ARIBB1_MAJOR_VERSION@ +#define ARIBB1_MINOR_VERSION @ARIBB1_MINOR_VERSION@ +#define ARIBB1_PATCH_VERSION @ARIBB1_PATCH_VERSION@ +#define ARIBB1_VERSION_NUMBER "@ARIBB1_VERSION_NUMBER@" +#define ARIBB1_VERSION_STRING "@ARIBB1_VERSION_STRING@" + #define ARIBB25_MAJOR_VERSION @ARIBB25_MAJOR_VERSION@ #define ARIBB25_MINOR_VERSION @ARIBB25_MINOR_VERSION@ #define ARIBB25_PATCH_VERSION @ARIBB25_PATCH_VERSION@ diff --git a/aribb25/version_b1.c b/aribb25/version_b1.c index 2642f3a..55d6ce0 100644 --- a/aribb25/version_b1.c +++ b/aribb25/version_b1.c @@ -9,7 +9,7 @@ const char elf_interp[] __attribute__((section(".interp"))) = ELF_INTERP; void show_version(void) { - fprintf(stderr, "libaribb1.so - ARIB STD-B1 shared library version %s (%s)\n", ARIBB25_VERSION_STRING, BUILD_GIT_REVISION); + fprintf(stderr, "libaribb1.so - ARIB STD-B1 shared library version %s (%s)\n", ARIBB1_VERSION_STRING, BUILD_GIT_REVISION); fprintf(stderr, " built with %s %s on %s\n", BUILD_CC_NAME, BUILD_CC_VERSION, BUILD_OS_NAME); _exit(0); }