public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH 2/2] newlib: merge old AC_LIBTOOL_WIN32_DLL macro into LT_INIT
Date: Mon, 17 Jan 2022 13:04:05 -0500	[thread overview]
Message-ID: <20220117180405.1914-2-vapier@gentoo.org> (raw)
In-Reply-To: <20220117180405.1914-1-vapier@gentoo.org>

The AC_LIBTOOL_WIN32_DLL macro has been deprecated for a while and code
should call LT_INIT with win32-dll instead.  Update the calls to match.

The generated code is noisy not because of substantial differences, but
because the order of some macros change (i.e. instead of calling AS and
then CC, CC is called first and then AS).
---
 newlib/configure                              | 2315 ++++++++---------
 newlib/configure.ac                           |    3 +-
 newlib/iconvdata/configure                    | 2315 ++++++++---------
 newlib/iconvdata/configure.ac                 |    3 +-
 newlib/libc/configure                         | 2315 ++++++++---------
 newlib/libc/configure.ac                      |    3 +-
 newlib/libc/machine/configure                 | 2315 ++++++++---------
 newlib/libc/machine/configure.ac              |    3 +-
 newlib/libc/machine/i386/configure            | 2315 ++++++++---------
 newlib/libc/machine/i386/configure.ac         |    3 +-
 newlib/libc/sys/configure                     | 2315 ++++++++---------
 newlib/libc/sys/configure.ac                  |    3 +-
 newlib/libc/sys/linux/configure               | 2315 ++++++++---------
 newlib/libc/sys/linux/configure.ac            |    3 +-
 newlib/libc/sys/linux/linuxthreads/configure  | 2315 ++++++++---------
 .../libc/sys/linux/linuxthreads/configure.ac  |    3 +-
 .../sys/linux/linuxthreads/machine/configure  | 2315 ++++++++---------
 .../linux/linuxthreads/machine/configure.ac   |    3 +-
 .../linux/linuxthreads/machine/i386/configure | 2315 ++++++++---------
 .../linuxthreads/machine/i386/configure.ac    |    3 +-
 newlib/libc/sys/linux/machine/configure       | 2315 ++++++++---------
 newlib/libc/sys/linux/machine/configure.ac    |    3 +-
 newlib/libc/sys/linux/machine/i386/configure  | 2315 ++++++++---------
 .../libc/sys/linux/machine/i386/configure.ac  |    3 +-
 newlib/libm/configure                         | 2315 ++++++++---------
 newlib/libm/configure.ac                      |    3 +-
 newlib/libm/machine/configure                 | 2315 ++++++++---------
 newlib/libm/machine/configure.ac              |    3 +-
 newlib/libm/machine/i386/configure            | 2315 ++++++++---------
 newlib/libm/machine/i386/configure.ac         |    3 +-
 newlib/libm/machine/x86_64/configure          | 2315 ++++++++---------
 newlib/libm/machine/x86_64/configure.ac       |    3 +-
 32 files changed, 18512 insertions(+), 18576 deletions(-)

diff --git a/newlib/configure.ac b/newlib/configure.ac
index a7fe598d61b5..e66b10343291 100644
--- a/newlib/configure.ac
+++ b/newlib/configure.ac
@@ -278,8 +278,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 dnl The following is being disabled because the mathfp library is
diff --git a/newlib/iconvdata/configure.ac b/newlib/iconvdata/configure.ac
index 7840b2b6e45c..606d87f80371 100644
--- a/newlib/iconvdata/configure.ac
+++ b/newlib/iconvdata/configure.ac
@@ -15,8 +15,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libc/configure.ac b/newlib/libc/configure.ac
index 764b0bc0faaf..29a839623f6f 100644
--- a/newlib/libc/configure.ac
+++ b/newlib/libc/configure.ac
@@ -55,8 +55,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_SUBDIRS(machine sys)
diff --git a/newlib/libc/machine/configure.ac b/newlib/libc/machine/configure.ac
index 7d3b953b2d75..7cfd416536c9 100644
--- a/newlib/libc/machine/configure.ac
+++ b/newlib/libc/machine/configure.ac
@@ -16,8 +16,7 @@ dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 if test -n "${machine_dir}"; then
diff --git a/newlib/libc/machine/i386/configure.ac b/newlib/libc/machine/i386/configure.ac
index 8ef174797fb4..566e05b81788 100644
--- a/newlib/libc/machine/i386/configure.ac
+++ b/newlib/libc/machine/i386/configure.ac
@@ -16,8 +16,7 @@ dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AM_CONDITIONAL(MACH_ADD_SETJMP, test "x$mach_add_setjmp" = 'xtrue')
diff --git a/newlib/libc/sys/configure.ac b/newlib/libc/sys/configure.ac
index 0e190c9c863e..f09467238f85 100644
--- a/newlib/libc/sys/configure.ac
+++ b/newlib/libc/sys/configure.ac
@@ -15,8 +15,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 if test -n "${sys_dir}"; then
diff --git a/newlib/libc/sys/linux/configure.ac b/newlib/libc/sys/linux/configure.ac
index eb6c345c2341..a06e3ec81017 100644
--- a/newlib/libc/sys/linux/configure.ac
+++ b/newlib/libc/sys/linux/configure.ac
@@ -16,8 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_SUBDIRS(machine)
diff --git a/newlib/libc/sys/linux/linuxthreads/configure.ac b/newlib/libc/sys/linux/linuxthreads/configure.ac
index 18849156077b..bed8de1a4d02 100644
--- a/newlib/libc/sys/linux/linuxthreads/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/configure.ac
@@ -16,8 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 if test -n "${machine_dir}"; then
diff --git a/newlib/libc/sys/linux/linuxthreads/machine/configure.ac b/newlib/libc/sys/linux/linuxthreads/machine/configure.ac
index 00258d6dd117..8614f41248ed 100644
--- a/newlib/libc/sys/linux/linuxthreads/machine/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/machine/configure.ac
@@ -15,8 +15,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 if test -n "${machine_dir}"; then
diff --git a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac
index 2b6ed54df968..2c836195a02e 100644
--- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac
@@ -16,8 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libc/sys/linux/machine/configure.ac b/newlib/libc/sys/linux/machine/configure.ac
index 04ccb9f93c47..66d4a5acb6c6 100644
--- a/newlib/libc/sys/linux/machine/configure.ac
+++ b/newlib/libc/sys/linux/machine/configure.ac
@@ -15,8 +15,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 if test -n "${machine_dir}"; then
diff --git a/newlib/libc/sys/linux/machine/i386/configure.ac b/newlib/libc/sys/linux/machine/i386/configure.ac
index ee4b7485fd02..5550a37e3614 100644
--- a/newlib/libc/sys/linux/machine/i386/configure.ac
+++ b/newlib/libc/sys/linux/machine/i386/configure.ac
@@ -16,8 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libm/configure.ac b/newlib/libm/configure.ac
index 25ca4c7e661c..eabb1ba9ca5c 100644
--- a/newlib/libm/configure.ac
+++ b/newlib/libm/configure.ac
@@ -44,8 +44,7 @@ dnl line of the macro which fail because appropriate LDFLAGS are not set.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_SUBDIRS(machine)
diff --git a/newlib/libm/machine/configure.ac b/newlib/libm/machine/configure.ac
index 1060e8cb0994..f775882d29cf 100644
--- a/newlib/libm/machine/configure.ac
+++ b/newlib/libm/machine/configure.ac
@@ -16,8 +16,7 @@ dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 machlib=
diff --git a/newlib/libm/machine/i386/configure.ac b/newlib/libm/machine/i386/configure.ac
index 6b43f8096fc0..e1438e6df6ff 100644
--- a/newlib/libm/machine/i386/configure.ac
+++ b/newlib/libm/machine/i386/configure.ac
@@ -16,8 +16,7 @@ dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libm/machine/x86_64/configure.ac b/newlib/libm/machine/x86_64/configure.ac
index f5885fddd62a..22e2efe120e2 100644
--- a/newlib/libm/machine/x86_64/configure.ac
+++ b/newlib/libm/machine/x86_64/configure.ac
@@ -16,8 +16,7 @@ dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
-AC_LIBTOOL_WIN32_DLL
-LT_INIT
+LT_INIT([win32-dll])
 fi
 
 AC_CONFIG_FILES([Makefile])
-- 
2.33.0


  reply	other threads:[~2022-01-17 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 18:04 [PATCH 1/2] newlib: update libtool macro name Mike Frysinger
2022-01-17 18:04 ` Mike Frysinger [this message]
2022-01-18 10:02 ` Corinna Vinschen

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=20220117180405.1914-2-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=newlib@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).