* [PATCH] Cygwin: Update configure.ac to use AC_CONFIG_HEADERS
@ 2021-12-07 13:29 Jon Turney
2021-12-07 14:16 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Jon Turney @ 2021-12-07 13:29 UTC (permalink / raw)
To: cygwin-patches; +Cc: Jon Turney
This avoids warning with autoconf >= 2.70:
configure.ac:47: warning: The macro `AC_CONFIG_HEADER' is obsolete.
AC_CONFIG_HEADERS has been supported since before autconf 2.59, the
minimum version we can be using, controlled by AC_PREREQ.
---
winsup/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/configure.ac b/winsup/configure.ac
index 9a11411ab..79e78a5fc 100644
--- a/winsup/configure.ac
+++ b/winsup/configure.ac
@@ -44,7 +44,7 @@ AC_ARG_WITH([cross-bootstrap],[AS_HELP_STRING([--with-cross-bootstrap],[do not b
AC_CYGWIN_INCLUDES
-AC_CONFIG_HEADER(cygwin/config.h)
+AC_CONFIG_HEADERS([cygwin/config.h])
AC_CHECK_TOOL(AR, ar, ar)
AC_CHECK_TOOL(AS, as, as)
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Cygwin: Update configure.ac to use AC_CONFIG_HEADERS
2021-12-07 13:29 [PATCH] Cygwin: Update configure.ac to use AC_CONFIG_HEADERS Jon Turney
@ 2021-12-07 14:16 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2021-12-07 14:16 UTC (permalink / raw)
To: cygwin-patches
On Dec 7 13:29, Jon Turney wrote:
> This avoids warning with autoconf >= 2.70:
>
> configure.ac:47: warning: The macro `AC_CONFIG_HEADER' is obsolete.
>
> AC_CONFIG_HEADERS has been supported since before autconf 2.59, the
> minimum version we can be using, controlled by AC_PREREQ.
> ---
> winsup/configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/winsup/configure.ac b/winsup/configure.ac
> index 9a11411ab..79e78a5fc 100644
> --- a/winsup/configure.ac
> +++ b/winsup/configure.ac
> @@ -44,7 +44,7 @@ AC_ARG_WITH([cross-bootstrap],[AS_HELP_STRING([--with-cross-bootstrap],[do not b
>
> AC_CYGWIN_INCLUDES
>
> -AC_CONFIG_HEADER(cygwin/config.h)
> +AC_CONFIG_HEADERS([cygwin/config.h])
>
> AC_CHECK_TOOL(AR, ar, ar)
> AC_CHECK_TOOL(AS, as, as)
> --
> 2.34.1
Sure thing.
Thanks,
Corinna
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-07 14:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07 13:29 [PATCH] Cygwin: Update configure.ac to use AC_CONFIG_HEADERS Jon Turney
2021-12-07 14:16 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).