[GRASS5] Re: auto-locate EPSG
Markus Neteler
neteler at itc.it
Thu Apr 27 17:23:19 EDT 2006
On Thu, Apr 27, 2006 at 07:08:02PM +0100, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > configure is autogenerated from configure.in by autoconf-2.13
> > So, the file configure.in has to be worked on, not configure.
> > Unfortunately a macro seems to be
> > missing for the .../share/ stuff, that's why this damn hack is needed.
>
> So do we need a LOC_ARG_WITH_SHARE macro to go with the
> LOC_ARG_WITH_{INC,LIB} macros? I.e.:
>
> aclocal.m4:
>
> AC_DEFUN(LOC_ARG_WITH_SHARE,[
> AC_ARG_WITH($1-share,
> LOC_PAD([ --with-$1-share=DIRS])[$2 data files are in DIRS])
> ])
>
> configure.in:
>
> LOC_ARG_WITH_SHARE(proj, External PROJ.4)
Thanks for your help! Do we probably also need to define
LOC_CHECK_SHARE_PATH(proj,External PROJ.4,PROJSHARE)
LOC_CHECK_SHARE(epsg,External PROJ.4,$PROJSHARE)
If not, I don't know how to figure out PROJSHARE (which I then need in
include/Make/Platform.make[.in]. If yes, would you mind to write those?
thanks
Markus
More information about the grass-dev
mailing list