[PATCH app-xdm 9/9] config: use AM_V_GEN instead of customized macros for AM_SILENT_RULES

2010-11-22 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca
---
 config/Makefile.am |2 +-
 configure.ac   |3 ---
 cpprules.in|9 +
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/config/Makefile.am b/config/Makefile.am
index d13645f..30e22ea 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -59,4 +59,4 @@ CPP_FILES_FLAGS = -DBINDIR=$(bindir) 
-DDEFAULTVT=$(DEFAULTVT) \
 -DSHELL_CMD=$(SHELL_CMD) $(MKTEMP_DEFINES)
 
 Xservers.ws: $(srcdir)/Xservers.ws.cpp
-   $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
$(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
+   $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
$(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
diff --git a/configure.ac b/configure.ac
index 7781034..66ea73a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,9 +101,6 @@ AC_FUNC_FORK
 AC_CHECK_FUNCS([daemon sigaction openlog asprintf setproctitle setusercontext \
 mkstemp getifaddrs getspnam arc4random])
 
-m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
-AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
-
 XDM_CFLAGS=$XDM_CFLAGS
 GREETER_CFLAGS=$GREETER_CFLAGS
 CHOOSER_CFLAGS=$CHOOSER_CFLAGS
diff --git a/cpprules.in b/cpprules.in
index eb7ef5e..c6daca3 100644
--- a/cpprules.in
+++ b/cpprules.in
@@ -22,12 +22,5 @@ CPP_SED_MAGIC = $(SED) -e '/^\#  *[0-9][0-9]*  *.*$$/d' \
-e '/^[ ]*XHASH/s/XHASH/\#/' \
-e '/\...@\@$$/s/\...@\@$$/\\/'
 
-if HAVE_AM_SILENT_RULES
-# Support for automake 1.11 AM_SILENT_RULES
-cpp_verbose = $(cpp_verbose_$(V))
-cpp_verbose_ = $(cpp_verbose_$(AM_DEFAULT_VERBOSITY))
-cpp_verbose_0 = @echo   CPP$@;
-endif HAVE_AM_SILENT_RULES
-
 .cpp:
-   $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
$(CPP_SED_MAGIC)  $@
+   $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
$(CPP_SED_MAGIC)  $@
-- 
1.6.0.4

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


Re: [PATCH app-xdm 9/9] config: use AM_V_GEN instead of customized macros for AM_SILENT_RULES

2010-11-22 Thread Alan Coopersmith
Gaetan Nadon wrote:
 Signed-off-by: Gaetan Nadon mems...@videotron.ca
 ---
  config/Makefile.am |2 +-
  configure.ac   |3 ---
  cpprules.in|9 +
  3 files changed, 2 insertions(+), 12 deletions(-)
 
 diff --git a/config/Makefile.am b/config/Makefile.am
 index d13645f..30e22ea 100644
 --- a/config/Makefile.am
 +++ b/config/Makefile.am
 @@ -59,4 +59,4 @@ CPP_FILES_FLAGS = -DBINDIR=$(bindir) 
 -DDEFAULTVT=$(DEFAULTVT) \
  -DSHELL_CMD=$(SHELL_CMD) $(MKTEMP_DEFINES)
  
  Xservers.ws: $(srcdir)/Xservers.ws.cpp
 - $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
 $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
 + $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
 $(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
 diff --git a/configure.ac b/configure.ac
 index 7781034..66ea73a 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -101,9 +101,6 @@ AC_FUNC_FORK
  AC_CHECK_FUNCS([daemon sigaction openlog asprintf setproctitle 
 setusercontext \
  mkstemp getifaddrs getspnam arc4random])
  
 -m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
 -AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
 -
  XDM_CFLAGS=$XDM_CFLAGS
  GREETER_CFLAGS=$GREETER_CFLAGS
  CHOOSER_CFLAGS=$CHOOSER_CFLAGS
 diff --git a/cpprules.in b/cpprules.in
 index eb7ef5e..c6daca3 100644
 --- a/cpprules.in
 +++ b/cpprules.in
 @@ -22,12 +22,5 @@ CPP_SED_MAGIC = $(SED) -e '/^\#  *[0-9][0-9]*  *.*$$/d' \
 -e '/^[ ]*XHASH/s/XHASH/\#/' \
 -e '/\...@\@$$/s/\...@\@$$/\\/'
  
 -if HAVE_AM_SILENT_RULES
 -# Support for automake 1.11 AM_SILENT_RULES
 -cpp_verbose = $(cpp_verbose_$(V))
 -cpp_verbose_ = $(cpp_verbose_$(AM_DEFAULT_VERBOSITY))
 -cpp_verbose_0 = @echo   CPP$@;
 -endif HAVE_AM_SILENT_RULES
 -
  .cpp:
 - $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
 $(CPP_SED_MAGIC)  $@
 + $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
 $(CPP_SED_MAGIC)  $@

Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


[PATCH app-xdm 9/9] config: use AM_V_GEN instead of customized macros for AM_SILENT_RULES

2010-11-12 Thread Gaetan Nadon
Signed-off-by: Gaetan Nadon mems...@videotron.ca
---
 config/Makefile.am |2 +-
 configure.ac   |3 ---
 cpprules.in|9 +
 3 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/config/Makefile.am b/config/Makefile.am
index d13645f..30e22ea 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -59,4 +59,4 @@ CPP_FILES_FLAGS = -DBINDIR=$(bindir) 
-DDEFAULTVT=$(DEFAULTVT) \
 -DSHELL_CMD=$(SHELL_CMD) $(MKTEMP_DEFINES)
 
 Xservers.ws: $(srcdir)/Xservers.ws.cpp
-   $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
$(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
+   $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  
$(srcdir)/Xservers.ws.cpp | $(CPP_SED_MAGIC)  $@
diff --git a/configure.ac b/configure.ac
index a12d142..f5b39be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,9 +101,6 @@ AC_FUNC_FORK
 AC_CHECK_FUNCS([daemon sigaction openlog asprintf setproctitle setusercontext \
 mkstemp getifaddrs getspnam arc4random])
 
-m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
-AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
-
 XDM_CFLAGS=$XDM_CFLAGS
 GREETER_CFLAGS=$GREETER_CFLAGS
 CHOOSER_CFLAGS=$CHOOSER_CFLAGS
diff --git a/cpprules.in b/cpprules.in
index eb7ef5e..c6daca3 100644
--- a/cpprules.in
+++ b/cpprules.in
@@ -22,12 +22,5 @@ CPP_SED_MAGIC = $(SED) -e '/^\#  *[0-9][0-9]*  *.*$$/d' \
-e '/^[ ]*XHASH/s/XHASH/\#/' \
-e '/\...@\@$$/s/\...@\@$$/\\/'
 
-if HAVE_AM_SILENT_RULES
-# Support for automake 1.11 AM_SILENT_RULES
-cpp_verbose = $(cpp_verbose_$(V))
-cpp_verbose_ = $(cpp_verbose_$(AM_DEFAULT_VERBOSITY))
-cpp_verbose_0 = @echo   CPP$@;
-endif HAVE_AM_SILENT_RULES
-
 .cpp:
-   $(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
$(CPP_SED_MAGIC)  $@
+   $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS)  $ | 
$(CPP_SED_MAGIC)  $@
-- 
1.6.0.4

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel