[PATCH ocserv 5/5] Allow linking with system libopts if installed

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jul 23 15:43:01 EDT 2013


On 07/23/2013 02:24 PM, Mike Miller wrote:
> On Tue, Jul 23, 2013 at 12:47:01 +0200, Nikos Mavrogiannopoulos wrote:
>> Hello Mike and thank you for the patches. I've not had time to check
>> them yet, so only a comment about this one. Unfortunately using the
>> system libopts may cause the programs not to work, since libopts
>> refuses to work if a different library version is present from the one
>> that was used to generate the files. So for such a patch to work, the
>> presence of autogen must be checked and the generation of the
>> intermediate files must be forced.
> 
> Ok, that makes sense, thanks for clarifying.
> 
> So now, notice this, built from ocserv-0.1.5:
> $ ./src/ocserv --version | sed 1q
> ocserv 0.1.5
> $ ./src/ocpasswd --version | sed 1q
> ocpasswd 0.1.1
> There is no make dependency on version.def in the autogen rules,
> because, well, that would force autogen to be a hard requirement and
> run every time configure is run. But what you have now instead is
> generated ocserv-args and ocpasswd-args files that could have an
> outdated version string in them, as in this case.

Hello Mike,
 I've tried to fix it by re-running autogen prior to making the dist file.

I also applied the first 4 of the patches you submitted.

Thank you,
Nikos




More information about the openconnect-devel mailing list