This is an automated email from Gerrit.

"Name of user not set <rdiezmail-open...@yahoo.de>" just uploaded a new patch 
set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7035

-- gerrit

commit 846fd7784fcd37c1ce85beccb1665e9c929319a8
Author: R. Diez <rdiezmail-open...@yahoo.de>
Date:   Sat Jun 18 16:23:00 2022 +0200

    configure: provide advice if PKG_PROG_PKG_CONFIG unavailable
    
    Change-Id: I21bcc7715eeac0f3d0bcc60bba6801e6a895cdd0
    Signed-off-by: R. Diez <rdiezmail-open...@yahoo.de>

diff --git a/configure.ac b/configure.ac
index 7eada3a32e..bb1b6f9313 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,10 @@ AC_PROG_CC
 m4_version_prereq([2.70],[],[AC_PROG_CC_C99])
 AM_PROG_CC_C_O
 AC_PROG_RANLIB
+
+# If macro PKG_PROG_PKG_CONFIG is not available, Autoconf generates a 
misleading error message,
+# so check for existance first, and otherwise provide helpful advice.
+m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([Macro PKG_PROG_PKG_CONFIG is not 
available. It is usually defined in file pkg.m4 provided by package 
pkg-config.])])
 PKG_PROG_PKG_CONFIG([0.23])
 
 dnl disable checks for C++, Fortran and GNU Java Compiler

-- 

Reply via email to