From: Mike Frysinger <vapier@gentoo.org>
To: newlib@sourceware.org
Subject: [PATCH 1/2] newlib: update libtool macro name
Date: Mon, 17 Jan 2022 13:04:04 -0500 [thread overview]
Message-ID: <20220117180405.1914-1-vapier@gentoo.org> (raw)
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
next 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 Mike Frysinger [this message]
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
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-1-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).