OSDN Git Service

Patch to make /etc/pointercal relative to systemconfdir
authorChris Larson <clarson@kergoth.com>
Tue, 24 Mar 2009 18:02:37 +0000 (18:02 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 24 Mar 2009 18:02:37 +0000 (18:02 +0000)
commit908bdb713c9b636a545b0e1c35d644eabeea0e7f
tree2927745aa4bd05b4189b6650c033af925c8b279a
parent431946110d1b64487e6742b864e79539e01fc15f
Patch to make /etc/pointercal relative to systemconfdir

While /etc/ts.conf is always relative to systemconfdir (set during ./
configure), the /etc/pointercal file is hard-coded to /etc/pointercal.
For users who wish to prefix their installation this is troublesome,
and impossible if they cannot/do not which to modify the root /etc.
The patch below resolves this by making /etc/pointercal relative to
the systemconfdir set during ./configure (or defaults to prefix/etc as
it should). This mirrors the behavior of tslib's /etc/ts.conf file.

Signed-off-by: Daniel Jabbour <daniel@laptouchinc.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
configure.ac
plugins/Makefile.am
plugins/linear.c
tests/Makefile.am
tests/ts_calibrate.c