public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] newlib: drop redundant AM_MAINTAINER_MODE call
Date: Wed,  2 Mar 2022 01:30:11 +0000 (GMT)	[thread overview]
Message-ID: <20220302013011.520243858D39@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e15b2e8691cb26b7ecf8b7ea3d52e508c3be6625

commit e15b2e8691cb26b7ecf8b7ea3d52e508c3be6625
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 28 23:32:12 2022 -0500

    newlib: drop redundant AM_MAINTAINER_MODE call
    
    This is already called earlier in this file, so no need to do it again.

Diff:
---
 newlib/acinclude.m4 |  4 +---
 newlib/configure    | 28 ----------------------------
 2 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/newlib/acinclude.m4 b/newlib/acinclude.m4
index 60fe6ca74..424460dc7 100644
--- a/newlib/acinclude.m4
+++ b/newlib/acinclude.m4
@@ -115,7 +115,7 @@ AC_SUBST(abs_newlib_basedir)
 AC_CANONICAL_HOST
 
 AM_INIT_AUTOMAKE([foreign no-installinfo no-dependencies no-dist no-define subdir-objects 1.15.1])
-AM_MAINTAINER_MODE()
+AM_MAINTAINER_MODE
 AM_SILENT_RULES(yes)
 
 AC_NO_EXECUTABLES
@@ -132,8 +132,6 @@ dnl expanding them multiple times.
 AC_REQUIRE([AC_PROG_INSTALL])dnl
 AC_REQUIRE([AC_PROG_AWK])dnl
 
-AM_MAINTAINER_MODE
-
 . [$]{newlib_basedir}/configure.host
 
 NEWLIB_CFLAGS=${newlib_cflags}
diff --git a/newlib/configure b/newlib/configure
index 4a145c8ba..993abcafa 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -4682,30 +4682,6 @@ fi
 
 
 
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
-    # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
-  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
-  USE_MAINTAINER_MODE=no
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
-   if test $USE_MAINTAINER_MODE = yes; then
-  MAINTAINER_MODE_TRUE=
-  MAINTAINER_MODE_FALSE='#'
-else
-  MAINTAINER_MODE_TRUE='#'
-  MAINTAINER_MODE_FALSE=
-fi
-
-  MAINT=$MAINTAINER_MODE_TRUE
-
-
-
 . ${newlib_basedir}/configure.host
 
 NEWLIB_CFLAGS=${newlib_cflags}
@@ -6633,10 +6609,6 @@ else
   am__EXEEXT_FALSE=
 fi
 
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5


                 reply	other threads:[~2022-03-02  1:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20220302013011.520243858D39@sourceware.org \
    --to=vapier@sourceware.org \
    --cc=newlib-cvs@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).