mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC
Date: Mon, 10 Jul 2023 11:33:53 +0200	[thread overview]
Message-ID: <20230710093353.113528-3-r.schwebel@pengutronix.de> (raw)
In-Reply-To: <20230710093353.113528-1-r.schwebel@pengutronix.de>

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 <r.schwebel@pengutronix.de>
---
 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




  parent reply	other threads:[~2023-07-10  9:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10  9:33 [ptxdist] [PATCH 1/3] configure.ac: bump required autoconf version from 2.59 to 2.69 Robert Schwebel
2023-07-10  9:33 ` [ptxdist] [PATCH 2/3] configure.ac: adapt quoting to autoupdate's suggestion Robert Schwebel
2023-08-01  7:48   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-07-10  9:33 ` Robert Schwebel [this message]
2023-07-28  7:13   ` [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC Michael Olbrich
2023-08-01  7:48 ` [ptxdist] [APPLIED] configure.ac: bump required autoconf version from 2.59 to 2.69 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230710093353.113528-3-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox