engine-corner / engine-chil

The CHIL engine from OpenSSL
3 stars 7 forks source link

autoreconf -i fails #11

Closed Akretsch closed 5 years ago

Akretsch commented 5 years ago

autoreconf -i outputs: < lot of lines about libtoolize>

configure.ac:18: error: possibly undefined macro: AC_MSG_FAILURE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

But if you drop the lines below from configure.ac the autoreconf -i;./configure;make sequence works:

AX_CHECK_OPENSSL(
  [have_openssl=yes],
  [AC_MSG_FAILURE([could not locate OpenSSL])]
)

Tested at Debian GNU/Linux 9 with OpenSSL 1.1.0j 20 Nov 2018.

levitte commented 5 years ago

Weird. That is a documented autoconf macro

sctemme commented 5 years ago

On my Ubuntu system, this macro is part of the autoconf-archive package. I'd expect it to be transparently available on systems that have this package installed, but missing on systems that don't.

levitte commented 5 years ago

It turns out that AC_MSG_FAILURE isn't the problem, AX_CHECK_OPENSSL is, and yes, that requires autoconf-archive to be installed.

That requirement is listed in README.md... I'm therefore closing this issue.

Akretsch commented 5 years ago

The error message was misleading, thanks for help and clarification.