[[project @ 1997-02-24 23:36:28 by mdj] mdj**19970224233632 Ignore-this: 1f21fa15daccabe56e64886d97aae5f6 * configure.in: Added AM_MAINTAINER_MODE Makefile.in, aclocal.m4, configure: Regenerated ] hunk ./ChangeLog 1 +Mon Feb 24 21:47:59 1997 Mikael Djurfeldt + + * configure.in: Added AM_MAINTAINER_MODE + hunk ./Makefile.in 40 -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -PACKAGE = @PACKAGE@ hunk ./Makefile.in 41 +INSTALL_SCRIPT = @INSTALL_SCRIPT@ hunk ./Makefile.in 43 +PACKAGE = @PACKAGE@ +MAINT = @MAINT@ hunk ./Makefile.in 70 -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) +$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) hunk ./Makefile.in 77 -$(srcdir)/aclocal.m4: configure.in +$(srcdir)/aclocal.m4: @MAINT@configure.in hunk ./Makefile.in 82 -$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES) +$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES) hunk ./aclocal.m4 65 +# 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= + else + MAINT='#M#' + fi + AC_SUBST(MAINT)dnl +] +) + hunk ./configure 14 +ac_help="$ac_help + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer" hunk ./configure 554 -echo "configure:552: checking for a BSD compatible install" >&5 +echo "configure:555: checking for a BSD compatible install" >&5 hunk ./configure 622 -echo "configure:620: checking whether build environment is sane" >&5 +echo "configure:623: checking whether build environment is sane" >&5 hunk ./configure 656 -echo "configure:654: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:657: checking whether ${MAKE-make} sets \${MAKE}" >&5 hunk ./configure 703 +echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 +echo "configure:705: checking whether to enable maintainer-specific portions of Makefiles" >&5 + # Check whether --enable-maintainer-mode or --disable-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 + + echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 + if test $USE_MAINTAINER_MODE = yes; then + MAINT= + else + MAINT='#M#' + fi + + hunk ./configure 871 +s%@MAINT@%$MAINT%g hunk ./configure.in 7 +AM_MAINTAINER_MODE