diff options
author | Doug Evans <dje@google.com> | 1998-05-02 01:28:32 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-05-02 01:28:32 +0000 |
commit | 77e0fb08e12946e41ccc1444d9fcf79532acb19b (patch) | |
tree | fa495ef9975b3ed81f632ffc9a66bfaf9adec13a /sim/m32r | |
parent | d8dedd794640573682266518db5f18565c9dc484 (diff) | |
download | gdb-77e0fb08e12946e41ccc1444d9fcf79532acb19b.zip gdb-77e0fb08e12946e41ccc1444d9fcf79532acb19b.tar.gz gdb-77e0fb08e12946e41ccc1444d9fcf79532acb19b.tar.bz2 |
* Makefile.in: Replace @MAINT@ with $(CGEN_MAINT).
(CGEN_MAINT): New variable.
* configure.in: Add support for --enable-cgen-maint.
* configure: Regenerate.
Diffstat (limited to 'sim/m32r')
-rw-r--r-- | sim/m32r/configure.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sim/m32r/configure.in b/sim/m32r/configure.in index 704da3d..0ed1268 100644 --- a/sim/m32r/configure.in +++ b/sim/m32r/configure.in @@ -15,7 +15,17 @@ SIM_AC_OPTION_SCACHE(1024) SIM_AC_OPTION_DEFAULT_MODEL(m32r/d) SIM_AC_OPTION_ENVIRONMENT -if test ${USE_MAINTAINER_MODE} = yes ; then +cgen_maint="#" +# Having --enable-maintainer-mode take arguments is another way to go. +AC_ARG_ENABLE(cgen-maint, +[ --enable-cgen-maint build cgen generated files], +[case "${enableval}" in + yes) cgen_maint="" ;; + no) ;; + *) AC_MSG_ERROR([bad value ${enableval} for simulator cgen-maint option]) ;; +esac])dnl +AC_SUBST(cgen_maint) +if test "x${cgen_maint}" = x ; then AC_CHECK_PROG(SCHEME, guile, guile, guile) fi |