]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: Update configure.ac to use AC_CONFIG_HEADERS
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 7 Dec 2021 13:20:27 +0000 (13:20 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Wed, 8 Dec 2021 14:10:55 +0000 (14:10 +0000)
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

index 9a11411ab7ec52332892f57803e7e007aefc58a4..79e78a5fc14372fce4636d1a94a0d560bb9952ea 100644 (file)
@@ -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)
This page took 0.031312 seconds and 5 git commands to generate.