* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt. * Makefile.tpl (Makefile.in, configure): Enable dependencies only for maintainer mode. * Makefile.in: Rebuilt.
This commit is contained in:
parent
487bbc62fd
commit
3728f201f9
|
@ -1,3 +1,11 @@
|
||||||
|
2003-02-19 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Introduce --enable-maintainer-mode.
|
||||||
|
* configure: Rebuilt.
|
||||||
|
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
|
||||||
|
for maintainer mode.
|
||||||
|
* Makefile.in: Rebuilt.
|
||||||
|
|
||||||
2003-02-19 Andrew Cagney <ac131313@redhat.com>
|
2003-02-19 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* configure: Regenerate using autoconf 2.13.
|
* configure: Regenerate using autoconf 2.13.
|
||||||
|
|
|
@ -7470,7 +7470,7 @@ multilib.out: maybe-all-gcc
|
||||||
|
|
||||||
# Rebuilding Makefile.in, using autogen.
|
# Rebuilding Makefile.in, using autogen.
|
||||||
AUTOGEN = autogen
|
AUTOGEN = autogen
|
||||||
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
|
$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
|
||||||
cd $(srcdir) && $(AUTOGEN) Makefile.def
|
cd $(srcdir) && $(AUTOGEN) Makefile.def
|
||||||
|
|
||||||
# Rebuilding Makefile.
|
# Rebuilding Makefile.
|
||||||
|
@ -7482,7 +7482,7 @@ config.status: configure $(gcc_version_trigger)
|
||||||
|
|
||||||
# Rebuilding configure.
|
# Rebuilding configure.
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/config/acx.m4
|
$(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -1410,7 +1410,7 @@ multilib.out: maybe-all-gcc
|
||||||
|
|
||||||
# Rebuilding Makefile.in, using autogen.
|
# Rebuilding Makefile.in, using autogen.
|
||||||
AUTOGEN = autogen
|
AUTOGEN = autogen
|
||||||
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
|
$(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
|
||||||
cd $(srcdir) && $(AUTOGEN) Makefile.def
|
cd $(srcdir) && $(AUTOGEN) Makefile.def
|
||||||
|
|
||||||
# Rebuilding Makefile.
|
# Rebuilding Makefile.
|
||||||
|
@ -1422,7 +1422,7 @@ config.status: configure $(gcc_version_trigger)
|
||||||
|
|
||||||
# Rebuilding configure.
|
# Rebuilding configure.
|
||||||
AUTOCONF = autoconf
|
AUTOCONF = autoconf
|
||||||
$(srcdir)/configure: $(srcdir)/configure.in $(srcdir)/config/acx.m4
|
$(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
19
configure.in
19
configure.in
|
@ -2127,4 +2127,23 @@ AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
|
||||||
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
|
RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
|
||||||
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||||
|
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)
|
||||||
|
AC_SUBST(MAINTAINER_MODE_TRUE)
|
||||||
|
AC_SUBST(MAINTAINER_MODE_FALSE)
|
||||||
|
if test "$USE_MAINTAINER_MODE" = yes; then
|
||||||
|
MAINTAINER_MODE_TRUE=
|
||||||
|
MAINTAINER_MODE_FALSE='#'
|
||||||
|
else
|
||||||
|
MAINTAINER_MODE_TRUE='#'
|
||||||
|
MAINTAINER_MODE_FALSE=
|
||||||
|
fi
|
||||||
|
MAINT=$MAINTAINER_MODE_TRUE
|
||||||
|
AC_SUBST(MAINT)dnl
|
||||||
|
|
||||||
AC_OUTPUT(Makefile)
|
AC_OUTPUT(Makefile)
|
||||||
|
|
Loading…
Reference in New Issue