configure: Fix pkg.m4 detection
PATCH 1/1 configure: Fix pkg.m4 detection
6e17e2ba1 attempt to detect missing pkg.m4, which usually gets installed with pkg-config/pkgconfig. Unfortunately this macro is since 0.29, which is too new for CentOS 7. Let's use PKG_CHECK_EXISTS, which is since 0.16 (old enough, we expect 0.24).
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -30,7 +30,7 @@ AC_DEFUN([AC_PROG_STRIP], [AC_CHECK_TOOL(STRIP, strip, :)]) AC_PROG_STRIP AC_PROG_YACC -m4_ifndef([PKG_PREREQ], +m4_ifndef([PKG_CHECK_EXISTS], [m4_fatal([must install pkg-config or pkgconfig and pkg.m4 macro (usual dependency), see INSTALL])]) AC_PREFIX_DEFAULT(/opt/ltp)
Signature · 1 line
2.30.0
PATCH 1/1 configure: Fix pkg.m4 detection
Hi,
Quoted 1 line
Fixes 6e17e2ba1 ("configure: Improve error message on missing pkg-config")
I tested that locally, but this time I'll wait for CI to finish :).
https://travis-ci.org/github/pevik/ltp/builds/759488526
Kind regards,
Petr
PATCH 1/1 configure: Fix pkg.m4 detection
Hi!
Quoted 3 lines
Quoted 1 line
Fixes 6e17e2ba1 ("configure: Improve error message on missing pkg-config")I tested that locally, but this time I'll wait for CI to finish :).
https://travis-ci.org/github/pevik/ltp/builds/759488526
Feel free to push with my ack once the CI finishes.
Signature · 2 lines
Cyril Hrubis [email protected]
PATCH 1/1 configure: Fix pkg.m4 detection
Hi Cyril,
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Fixes 6e17e2ba1 ("configure: Improve error message on missing pkg-config")I tested that locally, but this time I'll wait for CI to finish :).
https://travis-ci.org/github/pevik/ltp/builds/759488526Feel free to push with my ack once the CI finishes.
Thanks! CI finished, patch merged.
Kind regards,
Petr