newlib: drop redundant AM_MAINTAINER_MODE call

This is already called earlier in this file, so no need to do it again.
This commit is contained in:
Mike Frysinger 2022-02-28 23:32:12 -05:00
parent 74885d4fbd
commit e15b2e8691
2 changed files with 1 additions and 31 deletions

View File

@ -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}

28
newlib/configure vendored
View File

@ -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