Hi Florian,<br><br><div class="gmail_quote">2009/1/26 Florian Forster <span dir="ltr">&lt;<a href="mailto:octo@verplant.org">octo@verplant.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Charles,<br>
<div class="Ih2E3d"><br>
On Sun, Jan 25, 2009 at 11:00:19AM -0500, Charles Lepple wrote:<br>
&gt; practically speaking, you probably only need to check for the<br>
&gt; libupsclient.pc - there are not many people out there who would have<br>
&gt; the library built properly, but who would have libupsclient-config<br>
&gt; instead of libupsclient.pc.<br>
<br>
</div>I agree that `pkg-config&#39; is the way to go, but I want to write programs<br>
that work for everybody, not just ``most people&#39;&#39;. I&#39;ll have to check<br>
using both methods anyway, so never mind.<br>
<div class="Ih2E3d"><br>
&gt; In particular, I think libupsclient was not built on older versions<br>
&gt; of the Debian package, so people would either need to rebuild NUT<br>
&gt; from source with the library enabled, or find a backport.<br>
<br>
</div>It&#39;s okay to optimize for the most common use-case, but you should still<br>
make if *possible* for other users to use your library.<br>
<div class="Ih2E3d"><br>
&gt; I think we were in the process of deprecating libupsclient-config.<br>
&gt; Arnaud, is this still the case?<br>
<br>
</div>Why? Just because you and I are using `pkg-config&#39; doesn&#39;t mean<br>
everybody else should *have to*. What problems does installing<br>
`libupsclient-config&#39; bring, that I&#39;m not aware of?<br>
<br>
Maybe the attached patch is more to your liking: It adds a new option /<br>
conditional so you can en-/disable libupsclient-config separately from<br>
the .pc file. By default, it is disabled.<br></blockquote></div><br>I still don&#39;t see the light.<br>imho, we covers all the use cases by providing either the .pc *or* the alternate  libupsclient-config.<br clear="all">
I don&#39;t see the need for having both installed since the end consumers (the client apps) will have to support pkg-config only (if it works only on systems providing it) or both (which is the case for wmnut, since it&#39;s a basic X11 client, working on any X11 system).<br>
<br>Is your use case to rely only on  libupsclient-config?<br><br>FYI, I&#39;m still holding the final 2.4.0 a bit more to address your case.<br><br>Arnaud<br>