OPENCV_VER_xx - Use of updated OpenCV

Hi,
I’d like to be able to use latest opencv version (in Windows Win32, Visual Studio 2008)

I noticed that in openCVTexture.h there is a ref to the symbol OPENCV_VER_23 :

“// This symbol is predefined by the Panda3D build system to select
// whether we are using the OpenCV 2.3 or later interface, or if it is
// not defined, we are using the original interface.”

Question 1: where is it defined (I can’t find it in makepanda.py? If not defined should it be defined “by hand”?

Question 2: assuming a complete build of opencv (under vs2008 of course…) is available. (I have it)
How should it be included under the :
…\panda3d\thirdparty\win-libs-vc9\opencv

Are there any changes to be made in makepanda.py.
ie change the names of the libs, the dlls, …

for instance changing the libs names in :

    if (PkgSkip("OPENCV")==0):   LibName("OPENCV",   GetThirdpartyDir() + "opencv/lib/cv.lib")
    if (PkgSkip("OPENCV")==0):   LibName("OPENCV",   GetThirdpartyDir() + "opencv/lib/highgui.lib")
    if (PkgSkip("OPENCV")==0):   LibName("OPENCV",   GetThirdpartyDir() + "opencv/lib/cvaux.lib")
    if (PkgSkip("OPENCV")==0):   LibName("OPENCV",   GetThirdpartyDir() + "opencv/lib/ml.lib")
    if (PkgSkip("OPENCV")==0):   LibName("OPENCV",   GetThirdpartyDir() + "opencv/lib/cxcore.lib")

Thanks for your hints
jean-claude