Just call micoforia_version() directly.
XCPPFLAGS += -DCLONE_URL='"$(CLONE_URL)"'
XCPPFLAGS += -DGITWEB_URL='"$(GITWEB_URL)"'
XCPPFLAGS += -DHOME_URL='"$(HOME_URL)"'
-XCPPFLAGS += -DGET_VERSION='$(PACKAGE)_version'
XCPPFLAGS += -DLOGLEVELS='$(LOGLEVELS)'
XCPPFLAGS += -DLICENSE='"$(LICENSE)"'
XCPPFLAGS += -DLICENSE_URL='"$(LICENSE_URL)"'
}
}
-const char *GET_VERSION(void);
+const char *micoforia_version(void);
static void handle_version_and_help(void)
{
char *help;
"Author's Home Page: " HOME_URL "\n"
"Send feedback to: " AUTHOR " <" EMAIL ">\n"
,
- GET_VERSION()
+ micoforia_version()
);
exit(EXIT_SUCCESS);
}