From: Brian D. W. <bdw...@ph...> - 2003-12-29 23:52:00
|
On Mon, 29 Dec 2003, Rafael Laboissiere wrote: > * Alan W. Irwin <ai...@us...> [2003-12-29 13:40]: > > > On 2003-12-29 21:07+0100 Rafael Laboissiere wrote: > > > > > Even better than that, we should change it directly in the upstream source. > > > We have now in configure.ac: > > > > > > DATA_DIR="lib/${PACKAGE}${VERSION}/data" > > > DRV_DIR="../drivers$LIB_TAG" > > > > > > I suggest to change it to: > > > > > > DATA_DIR="share/${PACKAGE}${VERSION}/data" > > > DRV_DIR="../../../lib/${PACKAGE}${VERSION}/drivers$LIB_TAG" > > > > > > The stupid dot-slashes "../../.." are needed because of the code in > > > plcore.c. Getting rid of them may mean a certain amount of work. > > > > > > Should I change configure.ac as above? > > > > Fine with me. > > I will wait for the other developers' reactions before doing the change. > > Just a thought that came to my mind: why don't we have options > --with-data-dir and --with-drv-dir to configure? > This might be a bit confusing, since configure already has --datadir=DIR read-only architecture-independent data [PREFIX/share] In the end don't you want something like DATA_DIR="${datadir}/${PACKAGE}${VERSION}/data" or even leave off the last "data" as superfluous? This way the user or packager can just specify --datadir if needed. Brian -- ====================================================================== Brian D. Wright Tel: (415)476-1007 Dept. of Physiology, Box 0444 Fax: (415)476-4929 Keck Center for Integrative Neuroscience bdw...@ph... University of California, San Francisco 513 Parnassus Avenue San Francisco, CA 94143-0444 ====================================================================== |