Hi,
Given my previous message regarding gen-make.py not outputting
the Serf library even when it finds it, I have created a patch
that displays the library version if it finds it. In actual
fact, this patch modifies gen_win.py and not gen-make.py.
Unfortunately, there is a caveat for this patch. It depends
entirely on the fact that the Serf library's version # will always
be in serf.h AND that the format is the same; that is,
the major, minor and patch #s are under individual defined
constants:
#define SERF_MAJOR_VERSION 0
#define SERF_MINOR_VERSION 3
#define SERF_PATCH_VERSION 0
If the library changes the format of getting the version
#, this patch is broken.
Log:
[[[
Fixed gen_win.py such that it checks for the presence of the
Serf library (which it does prior to this patch) and also
outputs the library version with the caveat that the Serf.h
library version numbers remain as-is.
* build/generator/gen_win.py
(_get_serf_version): New function to return the serf library
version in a 3-tuple format.
(_find_serf): Added a version check. If the 3-tuple version
structure has -1 in the first index, the serf library is
not built; otherwise, the library is set to be built. Then
a message is displayed informing the user of the results.
]]]
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2393569
Received on 2009-09-11 11:10:11 CEST