From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 825583858035 for ; Mon, 17 Jan 2022 18:04:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 825583858035 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id B28F534319C; Mon, 17 Jan 2022 18:04:09 +0000 (UTC) From: Mike Frysinger 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 Message-Id: <20220117180405.1914-2-vapier@gentoo.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220117180405.1914-1-vapier@gentoo.org> References: <20220117180405.1914-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2022 18:04:12 -0000 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