From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 10 Jul 2023 11:35:02 +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 1qInIN-005YNo-PF for lore@lore.pengutronix.de; Mon, 10 Jul 2023 11:35:02 +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 1qInIK-0003A7-Bl; Mon, 10 Jul 2023 11:35:00 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=leda.hi.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qInHJ-0002rl-3X; Mon, 10 Jul 2023 11:33:57 +0200 Received: by leda.hi.pengutronix.de (Postfix, from userid 1006) id D922D2C802EE; Mon, 10 Jul 2023 11:33:56 +0200 (CEST) From: Robert Schwebel To: ptxdist@pengutronix.de Date: Mon, 10 Jul 2023 11:33:53 +0200 Message-Id: <20230710093353.113528-3-r.schwebel@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230710093353.113528-1-r.schwebel@pengutronix.de> References: <20230710093353.113528-1-r.schwebel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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: Robert Schwebel 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 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. 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