Luis Rodrigo Gallardo Cruz wrote:
The file tools/stunnel.conf-sample.in was not converted to use automake's dirs. The following patch has the required changes:
[cut]
-cert = @prefix@/etc/stunnel/mail.pem -;key = @prefix@/etc/stunnel/mail.pem +cert = @sysconfdir@/stunnel/mail.pem +;key = @sysconfdir@/stunnel/mail.pem
It's expanded *by default* (at least on my machine) to: cert = ${prefix}/etc/stunnel/mail.pem ;key = ${prefix}/etc/stunnel/mail.pem It's fine on Makefile, but it does not work with other files. You need to specify --sysconfdir explicitly to have correct results.
It looks like I'm not the only one suffering from this problem: http://man.sourcentral.org/debian-unstable/1+python You'll easily find several other examples with your favorite search engine.
Best regards, Mike