From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Jul 2023 09:13:58 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPHfj-00DBGM-Tr for lore@lore.pengutronix.de; Fri, 28 Jul 2023 09:13:58 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qPHfg-0001Zz-Pq; Fri, 28 Jul 2023 09:13:56 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qPHfS-0001Zl-Qx; Fri, 28 Jul 2023 09:13:42 +0200 Received: from mol by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qPHfS-00Ghc7-Dh; Fri, 28 Jul 2023 09:13:42 +0200 Date: Fri, 28 Jul 2023 09:13:42 +0200 From: Michael Olbrich To: Robert Schwebel Message-ID: Mail-Followup-To: Robert Schwebel , ptxdist@pengutronix.de References: <20230710093353.113528-1-r.schwebel@pengutronix.de> <20230710093353.113528-3-r.schwebel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230710093353.113528-3-r.schwebel@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, Jul 10, 2023 at 11:33:53AM +0200, Robert Schwebel wrote: > The AC_HEADER_STDC macro is obsolete (found by autoupdate), replace it by > AC_CHECK_INCLUDES_DEFAULT and AC_PROG_EGREP which do the same. On Debian Bullseye this fails with: configure.ac:41: error: possibly undefined macro: AC_CHECK_INCLUDES_DEFAULT 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 So I'll stick with the old version for now. Michael > Signed-off-by: Robert Schwebel > --- > configure.ac | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index 2499b06fc..7a013a51a 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -38,7 +38,8 @@ AS_IF([test -z "$PKG_CONFIG"], AC_MSG_ERROR([pkg-config not found.])) > dnl > dnl Check header files, mostly for lxdialog & kconfig > dnl > -AC_HEADER_STDC > +AC_CHECK_INCLUDES_DEFAULT > +AC_PROG_EGREP > > AC_CHECK_HEADERS([fcntl.h inttypes.h libintl.h limits.h locale.h malloc.h stddef.h stdlib.h string.h sys/time.h unistd.h]) > > -- > 2.30.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |