[geos-devel] Building Geos 64-bit using Oracle Developer Studio 12.5 on Solaris11

Sandro Santilli strk at kbt.io
Sun Jul 10 13:00:37 PDT 2016

On Sun, Jul 10, 2016 at 02:02:41PM +0100, Andrew Watkins wrote:
> On 08/07/2016 17:32, Sandro Santilli wrote:

> >So it looks AC_LIBTOOL_COMPILER_OPTION thinks -ansi is supported,
> >while you're saying it is not, correct ? Could be worth reporting
> >this upstream, to the libtool developers.
> I just looked at it a little more and to me the configure is check the C
> compiler and not C++ compiler:
> Looking at config.log
> # ./configure CC='cc' CXX='CC'
> configure:17560: checking if CC supports -ansi
> configure:17578: cc -c -g  -ansi conftest.c >&5
> configure:17582: $? = 0
> configure:17594: result: yes

Good catch !
So we need to figure out how to tell autoconf
that AC_LIBTOOL_COMPILER_OPTION has to check C++
compiler instead. I think it's something like:

   .. code here ..

See the configure.ac file, it is already used
later, for the isnan check.

Looking forward for a working patch !


More information about the geos-devel mailing list