Re: [libdc1394-devel] versioning
Capture and control API for IIDC compliant cameras
Brought to you by:
ddouxchamps,
gordp
From: Justin C. <ju...@st...> - 2005-08-22 09:08:51
|
On 22 Aug 2005, at 09:16, Kero van Gelder wrote: >>> So that he can have more than one version of the library and >>> maintain >>> > a > >>> single copy of the code to work on both. >>> > > You are right. > > >> 1) There must be a way to grab the versioning info set in the >> configure.in file, but I don't know how to do it. This would be >> the best >> way. >> > > I can't help you there... You can do this, and given there isnt currently a version number in the headers it is your best bet. I forced myself to learn how to write configure files and it isnt that bad. There are some good tutorials online. Once you have mastered the basics you will need to use AC_TRY_COMPILE on a minimal program with say the version with fewer arguments, and use this to set an environment variable which you test in the code. I can help out if you get stuck... Justin |