From 1088065fc276cc5bc7d37ccfc4114171edd8925a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 8 Apr 2008 11:17:34 +0000 Subject: [PATCH] Switched from configure.ac versioning to libburn.h versioning --- libburn/branches/ZeroFourFour/libburn/util.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libburn/branches/ZeroFourFour/libburn/util.c b/libburn/branches/ZeroFourFour/libburn/util.c index b759dc37..c50821d3 100644 --- a/libburn/branches/ZeroFourFour/libburn/util.c +++ b/libburn/branches/ZeroFourFour/libburn/util.c @@ -47,7 +47,14 @@ char *burn_strndup(char *s, int n) 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; *minor = BURN_MINOR_VERSION; *micro = BURN_MICRO_VERSION; +#endif }