-#include "version.hh" // urg
#include <stdio.h>
-static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL MY_PATCH_LEVEL " #%d";
+#include "config.hh"
+
+// static char *s = "FlowerLib " MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL MY_PATCH_LEVEL " #%d";
+static char *s = "FlowerLib " FLOWER_VERSION ;
-static const int build=
-#include ".build"
-;
char const *
flower_version_sz()
{
- static char v[1024];
- sprintf (v, s, build);
- return v;
+ return s;
}