Switched from configure.ac versioning to libburn.h versioning

This commit is contained in:
Thomas Schmitt 2008-04-08 11:17:34 +00:00
parent d464ea4712
commit 1088065fc2

View File

@ -47,7 +47,14 @@ char *burn_strndup(char *s, int n)
void burn_version(int *major, int *minor, int *micro) void burn_version(int *major, int *minor, int *micro)
{ {
/* ts A80408 : switched from configure.ac versioning to libburn.h versioning */
#ifdef burn_header_version_major
*major = burn_header_version_major;
*minor = burn_header_version_minor;
*micro = burn_header_version_micro;
#else
*major = BURN_MAJOR_VERSION; *major = BURN_MAJOR_VERSION;
*minor = BURN_MINOR_VERSION; *minor = BURN_MINOR_VERSION;
*micro = BURN_MICRO_VERSION; *micro = BURN_MICRO_VERSION;
#endif
} }