home *** CD-ROM | disk | FTP | other *** search
- # 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
- ]
- )
-