mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/3] configure.ac: bump required autoconf version from 2.59 to 2.69
@ 2023-07-10  9:33 Robert Schwebel
  2023-07-10  9:33 ` [ptxdist] [PATCH 2/3] configure.ac: adapt quoting to autoupdate's suggestion Robert Schwebel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert Schwebel @ 2023-07-10  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

2.69 is in debian o-o-stable (buster) and o-stable (bullseye), so it
should be safe as a prerequisite.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 43e00f86e..c096b818e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@ dnl
 dnl Process this file with autoconf to produce a configure script.
 dnl Most parts of this configure script have been borrowed from quilt.
 dnl
-AC_PREREQ(2.59)
+AC_PREREQ([2.69])
 
 AC_INIT([ptxdist],
 	m4_esyscmd([scripts/kernel/setlocalversion .tarball-version]),
-- 
2.30.2




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 2/3] configure.ac: adapt quoting to autoupdate's suggestion
  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 ` Robert Schwebel
  2023-08-01  7:48   ` [ptxdist] [APPLIED] " Michael Olbrich
  2023-07-10  9:33 ` [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC Robert Schwebel
  2023-08-01  7:48 ` [ptxdist] [APPLIED] configure.ac: bump required autoconf version from 2.59 to 2.69 Michael Olbrich
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Schwebel @ 2023-07-10  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c096b818e..2499b06fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,8 +5,8 @@ dnl
 AC_PREREQ([2.69])
 
 AC_INIT([ptxdist],
-	m4_esyscmd([scripts/kernel/setlocalversion .tarball-version]),
-	[ptxdist@pengutronix.de])
+       [m4_esyscmd([scripts/kernel/setlocalversion .tarball-version])],
+       [ptxdist@pengutronix.de])
 AC_CONFIG_AUX_DIR(scripts/autoconf)
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
-- 
2.30.2




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC
  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-07-10  9:33 ` Robert Schwebel
  2023-07-28  7:13   ` Michael Olbrich
  2023-08-01  7:48 ` [ptxdist] [APPLIED] configure.ac: bump required autoconf version from 2.59 to 2.69 Michael Olbrich
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Schwebel @ 2023-07-10  9:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC
  2023-07-10  9:33 ` [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC Robert Schwebel
@ 2023-07-28  7:13   ` Michael Olbrich
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2023-07-28  7:13 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: ptxdist

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 <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
> 
> 
> 

-- 
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 |



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [APPLIED] configure.ac: bump required autoconf version from 2.59 to 2.69
  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-07-10  9:33 ` [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC Robert Schwebel
@ 2023-08-01  7:48 ` Michael Olbrich
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2023-08-01  7:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

Thanks, applied as 9c949fde365c50954090ee5857935da18824146e.

Michael

[sent from post-receive hook]

On Tue, 01 Aug 2023 09:48:48 +0200, Robert Schwebel <r.schwebel@pengutronix.de> wrote:
> 2.69 is in debian o-o-stable (buster) and o-stable (bullseye), so it
> should be safe as a prerequisite.
> 
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> Message-Id: <20230710093353.113528-1-r.schwebel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/configure.ac b/configure.ac
> index 43e00f86ed37..c096b818ea87 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2,7 +2,7 @@ dnl
>  dnl Process this file with autoconf to produce a configure script.
>  dnl Most parts of this configure script have been borrowed from quilt.
>  dnl
> -AC_PREREQ(2.59)
> +AC_PREREQ([2.69])
>  
>  AC_INIT([ptxdist],
>  	m4_esyscmd([scripts/kernel/setlocalversion .tarball-version]),



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [APPLIED] configure.ac: adapt quoting to autoupdate's suggestion
  2023-07-10  9:33 ` [ptxdist] [PATCH 2/3] configure.ac: adapt quoting to autoupdate's suggestion Robert Schwebel
@ 2023-08-01  7:48   ` Michael Olbrich
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2023-08-01  7:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

Thanks, applied as 134a1f972d50a7fb7705af479556183d5a32258d.

Michael

[sent from post-receive hook]

On Tue, 01 Aug 2023 09:48:49 +0200, Robert Schwebel <r.schwebel@pengutronix.de> wrote:
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> Message-Id: <20230710093353.113528-2-r.schwebel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/configure.ac b/configure.ac
> index c096b818ea87..2499b06fc0be 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -5,8 +5,8 @@ dnl
>  AC_PREREQ([2.69])
>  
>  AC_INIT([ptxdist],
> -	m4_esyscmd([scripts/kernel/setlocalversion .tarball-version]),
> -	[ptxdist@pengutronix.de])
> +       [m4_esyscmd([scripts/kernel/setlocalversion .tarball-version])],
> +       [ptxdist@pengutronix.de])
>  AC_CONFIG_AUX_DIR(scripts/autoconf)
>  AC_CANONICAL_BUILD
>  AC_CANONICAL_HOST



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-01  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [ptxdist] [PATCH 3/3] configure.ac: replace obsolete AC_HEADER_STDC Robert Schwebel
2023-07-28  7:13   ` Michael Olbrich
2023-08-01  7:48 ` [ptxdist] [APPLIED] configure.ac: bump required autoconf version from 2.59 to 2.69 Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox