diff options
author | Tom Tromey <tromey@redhat.com> | 1996-10-06 03:55:55 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1996-10-06 03:55:55 +0000 |
commit | c19b562063efff67909e72ee7abe63c0960706a7 (patch) | |
tree | c0eece059f58fbe63dd3696f6dd1d3b5b58db87a /m4/maintainer.m4 | |
parent | 9e3559f10b3f25fc9e51191cc5568da1e3f7f45a (diff) | |
download | automake-c19b562063efff67909e72ee7abe63c0960706a7.tar.gz |
Many bug fixes
Diffstat (limited to 'm4/maintainer.m4')
-rw-r--r-- | m4/maintainer.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/m4/maintainer.m4 b/m4/maintainer.m4 new file mode 100644 index 000000000..f4425121d --- /dev/null +++ b/m4/maintainer.m4 @@ -0,0 +1,25 @@ +# Add --enable-maintainer-mode option to configure. +# From Jim Meyering + +# serial 1 + +AC_DEFUN(AM_MAINTAINER_MODE, +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + AC_ARG_ENABLE(maintainer-mode, +[ --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=no) + AC_MSG_RESULT($USE_MAINTAINER_MODE) + if test $USE_MAINTAINER_MODE = yes; then + MAINT= + UNMAINT='#M#' + else + MAINT='#M#' + UNMAINT= + fi + AC_SUBST(MAINT)dnl + AC_SUBST(UNMAINT)dnl +] +) |