[postgis-devel] Geos 3.7.0 / autoconf question

Sandro Santilli strk at kbt.io
Thu Sep 27 08:23:09 PDT 2018


On Thu, Sep 27, 2018 at 11:09:56AM -0400, John Harvey wrote:

> macros/ax_check_compile_flag.m4 to do a hard-check for 2.63 instead.

[...]

> if the autoconf dependency is a hard dependency for 2.64, or if it would be
> reasonably okay to build with autoconf 2.63.

In the top-level configure.ac we are requesting 2.52 as a dependency,
but I see macros/* are raising that:

  $ grep PREREQ configure.ac macros/*
  configure.ac:AC_PREREQ([2.52])
  macros/ax_check_compile_flag.m4:[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
  macros/libtool.m4:# LT_PREREQ(VERSION)
  macros/libtool.m4:m4_defun([LT_PREREQ],
  macros/libtool.m4:[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK

>From the comment in ax_check_compile_flag.m4 it would sound like
something would break with anyting < 2.64 (not recognizing support
for some compiler flags?). It is likely that you can still build
without those compiler flags passed, but you may not obtain the same
results as we're basing our tests on.

In any case it looks like our top-level requirement is too low,
for libtool to work ... Do you feel like sending a patch to clean
things up ?

--strk;


More information about the postgis-devel mailing list