diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-02-22 17:09:16 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-02-22 17:09:16 -0500 |
commit | 4ed502ba02270adee7c46bb738374cab867baee1 (patch) | |
tree | 5eb779cecd20a9cfee8e5269ff71e0c97b60a906 /libgloss/configure | |
parent | f2dc492df0f310aec97b5fc5847cca8d6cb70a33 (diff) | |
download | newlib-4ed502ba02270adee7c46bb738374cab867baee1.zip newlib-4ed502ba02270adee7c46bb738374cab867baee1.tar.gz newlib-4ed502ba02270adee7c46bb738374cab867baee1.tar.bz2 |
libgloss: enable maintainer mode support
Use AM_MAINTAINER_MODE so devs have to opt-in to automatic rebuilds
of autotools. This matches what newlib (and most every other GNU
toolchain package) does with automake.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libgloss/configure b/libgloss/configure index 8662be4..dab6ac8 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -642,6 +642,9 @@ HAVE_MULTISUBDIR_FALSE HAVE_MULTISUBDIR_TRUE HAVE_DOC_FALSE HAVE_DOC_TRUE +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V @@ -724,6 +727,7 @@ target_makefile_frag' ac_user_opts=' enable_option_checking enable_silent_rules +enable_maintainer_mode enable_dependency_tracking enable_multilib ' @@ -1361,6 +1365,9 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking @@ -2608,6 +2615,29 @@ END fi 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 + + # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; @@ -5361,6 +5391,10 @@ 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 "${HAVE_DOC_TRUE}" && test -z "${HAVE_DOC_FALSE}"; then as_fn_error $? "conditional \"HAVE_DOC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 |