configure: Output maintainer-mode rules directly from configure.

This commit is contained in:
Alexandre Julliard 2011-01-01 12:04:45 +01:00
parent 8e2becf394
commit 5eee920441
3 changed files with 22 additions and 8 deletions

View File

@ -33,14 +33,6 @@ WINAPI_CHECK_EXTRA_FLAGS = --global
# Rules for re-running configure
$(srcdir)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4
cd $(srcdir) && autoconf --warnings=all
$(srcdir)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in
$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
cd $(srcdir) && autoheader --warnings=all
@echo timestamp > $@
config.status: configure
@./config.status --recheck

11
configure vendored
View File

@ -15391,6 +15391,17 @@ ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
if test "x$enable_maintainer_mode" = xyes
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
cd \$(srcdir) && autoconf --warnings=all
\$(srcdir)/include/config.h.in: include/stamp-h.in
\$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
cd \$(srcdir) && autoheader --warnings=all
@echo timestamp > \$@"
fi
if test -n "$with_wine64"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader

View File

@ -2939,6 +2939,17 @@ AC_CONFIG_FILES([Make.tmp:Make.vars.in:Makefile.in])
dnl Some final makefile rules
if test "x$enable_maintainer_mode" = xyes
then
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[\$(srcdir)/configure: configure.ac aclocal.m4
cd \$(srcdir) && autoconf --warnings=all
\$(srcdir)/include/config.h.in: include/stamp-h.in
\$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
cd \$(srcdir) && autoheader --warnings=all
@echo timestamp > \$[@]])
fi
if test -n "$with_wine64"
then
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],