[GRASS5] Re: auto-locate EPSG

Glynn Clements glynn at gclements.plus.com
Thu Apr 27 14:08:02 EDT 2006


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)

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list