Tag
Hash :
dee4d56f
Author :
Date :
1998-10-03T18:26:55
* automake.in (handle_aclocal_m4): Use new MAINTAINER_MODE conditional. (handle_configure): Likewise. (read_am_file): Likewise. (file_contents_with_transform): Likewise. (scan_one_configure_file): Recognize that AM_MAINTAINER_MODE defines a conditional. * automake.texi (Optional): Document new AM_MAINTAINER_MODE. * texi-vers.am ($(srcdir)/@VTEXI@): Look at MAINTAINER_MODE conditional. (maintainer-clean-@VTI@): Likewise. * remake.am ($(srcdir)/configure): Look at MAINTAINER_MODE conditional. * remake-hdr.am ($(srcdir)/@CONFIG_HEADER_IN@): Look at MAINTAINER_MODE conditional. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Defined MAINTAINER_MODE conditional.
# 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)
AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
MAINT=$MAINTAINER_MODE_TRUE
AC_SUBST(MAINT)dnl
]
)