Ticket #251 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Invalid use of AC_SUBST in configure.in from GEOS 3.0.3

Reported by: mloskot Owned by: pramsey
Priority: major Milestone: 3.1.1
Component: Build/Install Version: 3.0.3
Severity: Unassigned Keywords: autogen,configure
Cc:

Description

Trying to ./configure GEOS 3.0.3 or current GEOS 3.0 branch, I'm getting the following error:

mloskot@dog:~/dev/geos/_svn/branches/3.0$ ./autogen.sh 
Running aclocal -I macros
configure.in:219: error: AC_SUBST: `VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH INTERFACE_CURRENT INTERFACE_REVISION INTERFACE_AGE JTS_PORT CAPI_VERSION CAPI_VERSION_MAJOR CAPI_VERSION_MINOR CAPI_VERSION_PATCH CAPI_INTERFACE_CURRENT CAPI_INTERFACE_REVISION CAPI_INTERFACE_AGE' is not a valid shell variable name
configure.in:219: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1

  Something went wrong, giving up!

mloskot@dog:~/dev/geos/_svn/branches/3.0$ aclocal --version
aclocal (GNU automake) 1.10.2

This is because of buggy use of AC_SUBST macro. It has been fixed already in trunk as r2236. Perhaps it's a good idea to port the fix to the 3.0 branch.

Change History

Changed 4 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Patch in 3.0 branch as of r2523.

Note: See TracTickets for help on using tickets.