[geos-devel] Version Check

strk strk at keybit.net
Sun Jun 27 06:11:09 EDT 2004


On Sat, Jun 26, 2004 at 06:40:55PM -0700, Paul Ramsey wrote:
> OK, I need a version check. I am getting no love trying to compile the 
> CVS tip on OS/X.
> 
> ./configure: line 7359: syntax error near unexpected token 
> `PGAC_TYPE_64BIT_INT(long'
> ./configure: line 7359: `PGAC_TYPE_64BIT_INT(long int)'
> 
> automake (GNU automake) 1.6.1
> autoconf (GNU Autoconf) 2.52
> gcc 2.95.2
> 
> When did we get this 64bit test in configure.in, btw?

It's been there since release 1.0, needed to make 64 integers usable
in a portable way. The macro is defined in acsite.m4 and have been 
copied from postgresql 7.3.4. It helps defining int64 to 'long' or
'long long' (unavailable on some systems).
You error message suggests to me the acsite.m4 file has not been
parsed by autoconf when producing 'configure' (there should be no
PGAC_TYPE.. call in the 'configure' script itself).

I'm using GNU Autoconf 2.57 with success. Note that autoconf reads
both aclocal.m4 and acsite.m4. I did not use aclocal.m4 because that
is currently generated by 'aclocal'. Maybe Fernando can help
with these auto* tools.

--strk;

> 
>      Paul Ramsey
>      Refractions Research
>      Email: pramsey at refractions.net
>      Phone: (250) 885-0632
> 
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel



More information about the geos-devel mailing list