public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] newlib: update libtool macro name
@ 2022-01-17 18:04 Mike Frysinger
  2022-01-17 18:04 ` [PATCH 2/2] newlib: merge old AC_LIBTOOL_WIN32_DLL macro into LT_INIT Mike Frysinger
  2022-01-18 10:02 ` [PATCH 1/2] newlib: update libtool macro name Corinna Vinschen
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Frysinger @ 2022-01-17 18:04 UTC (permalink / raw)
  To: newlib

Replace old AM_PROG_LIBTOOL name with LT_INIT.  There's no change to
the generated files since they're aliases internally.
---
 newlib/configure.ac                                         | 2 +-
 newlib/iconvdata/configure.ac                               | 2 +-
 newlib/libc/configure.ac                                    | 2 +-
 newlib/libc/machine/configure.ac                            | 6 +++---
 newlib/libc/machine/i386/configure.ac                       | 6 +++---
 newlib/libc/sys/configure.ac                                | 2 +-
 newlib/libc/sys/linux/configure.ac                          | 2 +-
 newlib/libc/sys/linux/linuxthreads/configure.ac             | 2 +-
 newlib/libc/sys/linux/linuxthreads/machine/configure.ac     | 2 +-
 .../libc/sys/linux/linuxthreads/machine/i386/configure.ac   | 2 +-
 newlib/libc/sys/linux/machine/configure.ac                  | 2 +-
 newlib/libc/sys/linux/machine/i386/configure.ac             | 2 +-
 newlib/libm/configure.ac                                    | 2 +-
 newlib/libm/machine/configure.ac                            | 6 +++---
 newlib/libm/machine/i386/configure.ac                       | 6 +++---
 newlib/libm/machine/x86_64/configure.ac                     | 6 +++---
 16 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/newlib/configure.ac b/newlib/configure.ac
index 6d89c3a328fe..a7fe598d61b5 100644
--- a/newlib/configure.ac
+++ b/newlib/configure.ac
@@ -279,7 +279,7 @@ _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 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 48112233c828..7840b2b6e45c 100644
--- a/newlib/iconvdata/configure.ac
+++ b/newlib/iconvdata/configure.ac
@@ -16,7 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libc/configure.ac b/newlib/libc/configure.ac
index 3ffc021863fa..764b0bc0faaf 100644
--- a/newlib/libc/configure.ac
+++ b/newlib/libc/configure.ac
@@ -56,7 +56,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_SUBDIRS(machine sys)
diff --git a/newlib/libc/machine/configure.ac b/newlib/libc/machine/configure.ac
index a1b70b024d0a..7d3b953b2d75 100644
--- a/newlib/libc/machine/configure.ac
+++ b/newlib/libc/machine/configure.ac
@@ -11,13 +11,13 @@ NEWLIB_CONFIGURE(../..)
 
 dnl We have to add the following lines because automake detects the
 dnl references to libtool libraries from aclocal and tries to verify that
-dnl AM_PROG_LIBTOOL is being used.  This must be added after
-dnl the call to NEWLIB_CONFIGURE.
+dnl LT_INIT is being used.  This must be added after dnl the call to
+dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 if test -n "${machine_dir}"; then
diff --git a/newlib/libc/machine/i386/configure.ac b/newlib/libc/machine/i386/configure.ac
index 139d84c92a80..8ef174797fb4 100644
--- a/newlib/libc/machine/i386/configure.ac
+++ b/newlib/libc/machine/i386/configure.ac
@@ -11,13 +11,13 @@ NEWLIB_CONFIGURE(../../..)
 
 dnl We have to add the following lines because automake detects the
 dnl references to libtool libraries from aclocal and tries to verify that
-dnl AM_PROG_LIBTOOL is being used.  This code must occur after
-dnl NEWLIB_CONFIGURE. 
+dnl LT_INIT is being used.  This must be added after dnl the call to
+dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 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 3d803f778003..0e190c9c863e 100644
--- a/newlib/libc/sys/configure.ac
+++ b/newlib/libc/sys/configure.ac
@@ -16,7 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 if test -n "${sys_dir}"; then
diff --git a/newlib/libc/sys/linux/configure.ac b/newlib/libc/sys/linux/configure.ac
index ccfa7a048689..eb6c345c2341 100644
--- a/newlib/libc/sys/linux/configure.ac
+++ b/newlib/libc/sys/linux/configure.ac
@@ -17,7 +17,7 @@ _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_SUBDIRS(machine)
diff --git a/newlib/libc/sys/linux/linuxthreads/configure.ac b/newlib/libc/sys/linux/linuxthreads/configure.ac
index 98ee10cfabe6..18849156077b 100644
--- a/newlib/libc/sys/linux/linuxthreads/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/configure.ac
@@ -17,7 +17,7 @@ _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 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 a635021f56a2..00258d6dd117 100644
--- a/newlib/libc/sys/linux/linuxthreads/machine/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/machine/configure.ac
@@ -16,7 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 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 aca13b7178f7..2b6ed54df968 100644
--- a/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac
+++ b/newlib/libc/sys/linux/linuxthreads/machine/i386/configure.ac
@@ -17,7 +17,7 @@ _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libc/sys/linux/machine/configure.ac b/newlib/libc/sys/linux/machine/configure.ac
index e9f3f9c2eb5b..04ccb9f93c47 100644
--- a/newlib/libc/sys/linux/machine/configure.ac
+++ b/newlib/libc/sys/linux/machine/configure.ac
@@ -16,7 +16,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 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 93cf839fec33..ee4b7485fd02 100644
--- a/newlib/libc/sys/linux/machine/i386/configure.ac
+++ b/newlib/libc/sys/linux/machine/i386/configure.ac
@@ -17,7 +17,7 @@ _LT_PROG_ECHO_BACKSLASH
 AC_PROG_AWK
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libm/configure.ac b/newlib/libm/configure.ac
index c1b4dbb382c3..25ca4c7e661c 100644
--- a/newlib/libm/configure.ac
+++ b/newlib/libm/configure.ac
@@ -45,7 +45,7 @@ _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_SUBDIRS(machine)
diff --git a/newlib/libm/machine/configure.ac b/newlib/libm/machine/configure.ac
index c0be11512c80..1060e8cb0994 100644
--- a/newlib/libm/machine/configure.ac
+++ b/newlib/libm/machine/configure.ac
@@ -11,13 +11,13 @@ NEWLIB_CONFIGURE(../..)
 
 dnl We have to add the following lines because automake detects the
 dnl references to libtool libraries from aclocal and tries to verify that
-dnl AM_PROG_LIBTOOL is being used.  This must be added after
-dnl the call to NEWLIB_CONFIGURE.
+dnl LT_INIT is being used.  This must be added after dnl the call to
+dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 machlib=
diff --git a/newlib/libm/machine/i386/configure.ac b/newlib/libm/machine/i386/configure.ac
index fb899a458134..6b43f8096fc0 100644
--- a/newlib/libm/machine/i386/configure.ac
+++ b/newlib/libm/machine/i386/configure.ac
@@ -11,13 +11,13 @@ NEWLIB_CONFIGURE(../../..)
 
 dnl We have to add the following lines because automake detects the
 dnl references to libtool libraries from aclocal and tries to verify that
-dnl AM_PROG_LIBTOOL is being used.  This code must occur after
-dnl NEWLIB_CONFIGURE. 
+dnl LT_INIT is being used.  This must be added after dnl the call to
+dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_FILES([Makefile])
diff --git a/newlib/libm/machine/x86_64/configure.ac b/newlib/libm/machine/x86_64/configure.ac
index 10dce187394a..f5885fddd62a 100644
--- a/newlib/libm/machine/x86_64/configure.ac
+++ b/newlib/libm/machine/x86_64/configure.ac
@@ -11,13 +11,13 @@ NEWLIB_CONFIGURE(../../..)
 
 dnl We have to add the following lines because automake detects the
 dnl references to libtool libraries from aclocal and tries to verify that
-dnl AM_PROG_LIBTOOL is being used.  This code must occur after
-dnl NEWLIB_CONFIGURE. 
+dnl LT_INIT is being used.  This must be added after dnl the call to
+dnl NEWLIB_CONFIGURE.
 _LT_DECL_SED
 _LT_PROG_ECHO_BACKSLASH
 if test "${use_libtool}" = "yes"; then
 AC_LIBTOOL_WIN32_DLL
-AM_PROG_LIBTOOL
+LT_INIT
 fi
 
 AC_CONFIG_FILES([Makefile])
-- 
2.33.0


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

* [PATCH 2/2] newlib: merge old AC_LIBTOOL_WIN32_DLL macro into LT_INIT
  2022-01-17 18:04 [PATCH 1/2] newlib: update libtool macro name Mike Frysinger
@ 2022-01-17 18:04 ` Mike Frysinger
  2022-01-18 10:02 ` [PATCH 1/2] newlib: update libtool macro name Corinna Vinschen
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2022-01-17 18:04 UTC (permalink / raw)
  To: newlib

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


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

* Re: [PATCH 1/2] newlib: update libtool macro name
  2022-01-17 18:04 [PATCH 1/2] newlib: update libtool macro name Mike Frysinger
  2022-01-17 18:04 ` [PATCH 2/2] newlib: merge old AC_LIBTOOL_WIN32_DLL macro into LT_INIT Mike Frysinger
@ 2022-01-18 10:02 ` Corinna Vinschen
  1 sibling, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2022-01-18 10:02 UTC (permalink / raw)
  To: newlib

On Jan 17 13:04, Mike Frysinger wrote:
> Replace old AM_PROG_LIBTOOL name with LT_INIT.  There's no change to
> the generated files since they're aliases internally.

Patchset looks good, please push.


Thanks,
Corinna


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

end of thread, other threads:[~2022-01-18 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 18:04 [PATCH 1/2] newlib: update libtool macro name Mike Frysinger
2022-01-17 18:04 ` [PATCH 2/2] newlib: merge old AC_LIBTOOL_WIN32_DLL macro into LT_INIT Mike Frysinger
2022-01-18 10:02 ` [PATCH 1/2] newlib: update libtool macro name 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).