diff options
author | Tom Tromey <tromey@adacore.com> | 2021-03-08 07:48:20 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-03-08 07:53:53 -0700 |
commit | 8c379db285f2ab8ad298288e86103548b90674a2 (patch) | |
tree | 14504cb5bf2105511a8c457141ccb0f79edf66ba /sim/configure | |
parent | 3dd93bf837b10e01864d7d223ae9d3f9b92df74e (diff) | |
download | fsf-binutils-gdb-8c379db285f2ab8ad298288e86103548b90674a2.zip fsf-binutils-gdb-8c379db285f2ab8ad298288e86103548b90674a2.tar.gz fsf-binutils-gdb-8c379db285f2ab8ad298288e86103548b90674a2.tar.bz2 |
Enable maintainer mode for sim
The sim's recently switch to using Automake caused a build failure for
me, because I didn't have the correct auto* tools in my path.
However, the rule in the tree is that this is not needed in general.
This patch adds a call to AM_MAINTAINER_MODE, to align the sim with
the way the rest of the tree works here.
sim/ChangeLog
2021-03-08 Tom Tromey <tromey@adacore.com>
* aclocal.m4, configure, Makefile.in: Rebuild.
* configure.ac: Use AM_MAINTAINER_MODE.
Diffstat (limited to 'sim/configure')
-rwxr-xr-x | sim/configure | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure index 09c2a47..707a1cc 100755 --- a/sim/configure +++ b/sim/configure @@ -640,6 +640,9 @@ am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE target_os target_vendor target_cpu @@ -693,6 +696,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_maintainer_mode enable_silent_rules enable_dependency_tracking enable_sim @@ -1356,6 +1360,9 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode + enable make rules and dependencies not useful (and + sometimes confusing) to the casual installer --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking @@ -1882,6 +1889,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -2023,6 +2033,29 @@ test -n "$target_alias" && program_prefix=${target_alias}- + +{ $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 + + am__api_version='1.15' # Find a good install program. We prefer a C program (faster), @@ -5097,6 +5130,10 @@ LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs +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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then |