[GRASS5] Re: auto-locate EPSG
Hamish
hamish_nospam at yahoo.com
Thu Apr 27 00:36:04 EDT 2006
> > > > > the new auto-locate EPSG file isn't working for me.
> > > ..
> > > > configure now defines via hack (I didn't receive an answer how
> > > > to do it properly) where the PROJ software is installed.
> > > >
> > > > See configure.in, line 583 ff.
..
>
> # Define share/proj/ directory for epsg code file
> PROJSHARE=
> if test -n "$PROJINC"; then
> PROJSHARE="$PROJINC/../share/proj"
> else
> for testdir in /usr /usr/local ; do
> if test -d $testdir/share/proj ; then
> PROJSHARE=$testdir/share/proj
> break
> fi
> done
> fi
>
> "$PROJINC/../share/proj" could be better evaluated? use $PROJLIB ?
>
> where does epsg get stored on a Mac, Cygwin, windows native, etc?
>
> how does PROJ4 know where to find it if PROJ_LIB isn't set?
The above test sets it correctly for me (file is in /usr/share/proj/)
If none of those tests find it, default to /usr/local/share/proj as
a hint?
Could someone quickly explain to me the relationship between configure.in
and configure?
thanks,
Hamish
More information about the grass-dev
mailing list